mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-22 00:21:02 +01:00
Merge pull request #4816 from javiexin/ticket/15202
[ticket/15202] To disable, an extension must be enabled
This commit is contained in:
commit
521760aeb7
@ -262,8 +262,8 @@ class manager
|
||||
*/
|
||||
public function disable_step($name)
|
||||
{
|
||||
// ignore extensions that are already disabled
|
||||
if ($this->is_disabled($name))
|
||||
// ignore extensions that are not enabled
|
||||
if (!$this->is_enabled($name))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user