diff options
| author | Nils Adermann <naderman@naderman.de> | 2011-11-18 18:15:39 +0100 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2011-11-18 18:24:18 +0100 |
| commit | 5068c0588733f80a8433aea1cd6f763819caa9f7 (patch) | |
| tree | ce2c10c6473270b8c6510ee56d72e1942db9b67d /phpBB/includes/extension/base.php | |
| parent | 21117c69f313929d23592e3e705de3e4974afaa0 (diff) | |
| download | forums-5068c0588733f80a8433aea1cd6f763819caa9f7.tar forums-5068c0588733f80a8433aea1cd6f763819caa9f7.tar.gz forums-5068c0588733f80a8433aea1cd6f763819caa9f7.tar.bz2 forums-5068c0588733f80a8433aea1cd6f763819caa9f7.tar.xz forums-5068c0588733f80a8433aea1cd6f763819caa9f7.zip | |
[feature/extension-manager] Split disabling extensions up into steps as well
PHPBB3-10323
Diffstat (limited to 'phpBB/includes/extension/base.php')
| -rw-r--r-- | phpBB/includes/extension/base.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/phpBB/includes/extension/base.php b/phpBB/includes/extension/base.php index fed120c51b..d9159d57d2 100644 --- a/phpBB/includes/extension/base.php +++ b/phpBB/includes/extension/base.php @@ -25,6 +25,7 @@ class phpbb_extension_base implements phpbb_extension_interface /** * Single enable step that does nothing * + * @param mixed $old_state State returned by previous call of this method * @return false Indicates no further steps are required */ public function enable_step($old_state) @@ -33,17 +34,20 @@ class phpbb_extension_base implements phpbb_extension_interface } /** - * Empty disable method + * Single disable step that does nothing * - * @return null + * @param mixed $old_state State returned by previous call of this method + * @return false Indicates no further steps are required */ - public function disable() + public function disable_step($old_state) { + return false; } /** * Single purge step that does nothing * + * @param mixed $old_state State returned by previous call of this method * @return false Indicates no further steps are required */ public function purge_step($old_state) |
