diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-27 10:49:13 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-27 10:49:13 +0200 |
commit | d13e02c7b100ac43943f11912a8f4acb740f69b6 (patch) | |
tree | d1b78f32e676719717f8c97fb26871d621e5fed6 /phpBB/phpbb/console | |
parent | 9b27d00d5fc8228ec4f9150aa26bcf450dc45524 (diff) | |
download | forums-d13e02c7b100ac43943f11912a8f4acb740f69b6.tar forums-d13e02c7b100ac43943f11912a8f4acb740f69b6.tar.gz forums-d13e02c7b100ac43943f11912a8f4acb740f69b6.tar.bz2 forums-d13e02c7b100ac43943f11912a8f4acb740f69b6.tar.xz forums-d13e02c7b100ac43943f11912a8f4acb740f69b6.zip |
[ticket/12777] Rename extension status functions and add is_configured()
PHPBB3-12777
Diffstat (limited to 'phpBB/phpbb/console')
-rw-r--r-- | phpBB/phpbb/console/command/extension/disable.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/console/command/extension/enable.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/console/command/extension/purge.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/extension/disable.php b/phpBB/phpbb/console/command/extension/disable.php index 5f0e74b984..c04848aa01 100644 --- a/phpBB/phpbb/console/command/extension/disable.php +++ b/phpBB/phpbb/console/command/extension/disable.php @@ -37,7 +37,7 @@ class disable extends command $this->manager->disable($name); $this->manager->load_extensions(); - if ($this->manager->enabled($name)) + if ($this->manager->is_enabled($name)) { $output->writeln("<error>Could not disable extension $name</error>"); return 1; diff --git a/phpBB/phpbb/console/command/extension/enable.php b/phpBB/phpbb/console/command/extension/enable.php index 0cdf26d4db..d0d0c9f1cc 100644 --- a/phpBB/phpbb/console/command/extension/enable.php +++ b/phpBB/phpbb/console/command/extension/enable.php @@ -37,7 +37,7 @@ class enable extends command $this->manager->enable($name); $this->manager->load_extensions(); - if ($this->manager->enabled($name)) + if ($this->manager->is_enabled($name)) { $this->log->add('admin', ANONYMOUS, '', 'LOG_EXTENSION_ENABLE', time(), array($name)); $output->writeln("<info>Successfully enabled extension $name</info>"); diff --git a/phpBB/phpbb/console/command/extension/purge.php b/phpBB/phpbb/console/command/extension/purge.php index 4e57641d83..841598b90a 100644 --- a/phpBB/phpbb/console/command/extension/purge.php +++ b/phpBB/phpbb/console/command/extension/purge.php @@ -37,7 +37,7 @@ class purge extends command $this->manager->purge($name); $this->manager->load_extensions(); - if ($this->manager->enabled($name)) + if ($this->manager->is_enabled($name)) { $output->writeln("<error>Could not purge extension $name</error>"); return 1; |