File: phpbb/console/command/extension/disable.php
Unmodified
Added
Modified
Removed
Line 37 | Line 37 |
---|
$io = new SymfonyStyle($input, $output);
$name = $input->getArgument('extension-name');
|
$io = new SymfonyStyle($input, $output);
$name = $input->getArgument('extension-name');
|
| if (!$this->manager->is_enabled($name)) { $io->error($this->user->lang('CLI_EXTENSION_DISABLED', $name)); return 2; }
|
$this->manager->disable($name); $this->manager->load_extensions();
| $this->manager->disable($name); $this->manager->load_extensions();
|