Remove() private method

private Remove ( PHPIniBase entry ) : bool
entry PHPIniBase
return bool
Ejemplo n.º 1
0
        public void RemovePHPIniSetting(PHPIniSetting setting)
        {
            EnsurePHPIsRegistered();

            var file = new PHPIniFile(PHPIniFilePath);
            file.Parse();

            if (file.Remove(setting))
            {
                file.Save(file.FileName);
            }
        }
Ejemplo n.º 2
0
        public void RemovePHPIniSetting(PHPIniSetting setting)
        {
            Debug.Assert(IsPHPRegistered());

            PHPIniFile file = new PHPIniFile(PHPIniFilePath);
            file.Parse();

            if (file.Remove(setting))
            {
                file.Save(file.FileName);
            }
        }