diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-06-29 23:33:47 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-29 23:33:47 +0200 |
commit | 5652f33ccca36b093a20033f17cb42ec79a581da (patch) | |
tree | 90f7bae5fae10cc031b84ad6071776cfd9cb1cac /phpBB/phpbb/console | |
parent | 404c2f11448f53e55eca4cfdf082671230711241 (diff) | |
parent | daeb635d6c27d94fe2f7135ab4d921da5d870447 (diff) | |
download | forums-5652f33ccca36b093a20033f17cb42ec79a581da.tar forums-5652f33ccca36b093a20033f17cb42ec79a581da.tar.gz forums-5652f33ccca36b093a20033f17cb42ec79a581da.tar.bz2 forums-5652f33ccca36b093a20033f17cb42ec79a581da.tar.xz forums-5652f33ccca36b093a20033f17cb42ec79a581da.zip |
Merge pull request #2669 from Nicofuma/ticket/12777
[ticket/12777] Rename extension status functions and add is_configured()
* Nicofuma/ticket/12777:
[ticket/12777] Add tests for unavailable extension
[ticket/12777] Add tests
[ticket/12777] Add is_purged()
[ticket/12777] Update doc block of is_configured()
[ticket/12777] Rename extension status functions and add is_configured()
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 05e1d927c6..86a034cdf4 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_EXT_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; |