1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +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

@@ -40,11 +40,14 @@ interface phpbb_extension_interface
/**
* Disables the extension.
*
* Must be a quick operation, that finishes within max_execution_time.
* Calls to this function can be made in subsequent requests, when the
* function is invoked through a webserver with a too low max_execution_time.
*
* @param mixed $old_state The return value of the previous call
* of this method, or false on the first call
* @return null
*/
public function disable();
public function disable_step($old_state);
/**
* purge_step is executed on purging an extension until it returns false.