lib/IniModifierArray.php
public function removeSection($section = 0, $removePreviousComment = true)
    {
        foreach ($this->modifiers as $mod) {
            if ($mod instanceof IniModifierInterface) {
                $mod->removeSection($section, $removePreviousComment);
            }
        }
    }
public function removeSection($section = 0, $removePreviousComment = true)
    {
        foreach ($this->modifiers as $mod) {
            if ($mod instanceof IniModifierInterface) {
                $mod->removeSection($section, $removePreviousComment);
            }
        }
    }
remove a section from all ini file.
@param int $section
@param bool $removePreviousComment
@since 2.5.0