1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 10:44:20 +02:00

[feature/extension-manager] Split disabling extensions up into steps as well

PHPBB3-10323
This commit is contained in:
Nils Adermann
2011-11-18 18:15:39 +01:00
parent 21117c69f3
commit 5068c05887
5 changed files with 65 additions and 11 deletions

View File

@@ -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)