diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-08-07 13:00:21 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-08-07 13:00:21 +0200 |
commit | 3722aac495014f190d2c8f14d7b3ee0b1b712186 (patch) | |
tree | 86fa40fccf11c7b9b6126187b6dcf2f98c0f4058 /phpBB/phpbb/extension/extension_interface.php | |
parent | 28224bad70fe5c2d912d96f2f35e4e5d99301c71 (diff) | |
parent | f474e33a430176fd7ef809141b258eec77993e03 (diff) | |
download | forums-3722aac495014f190d2c8f14d7b3ee0b1b712186.tar forums-3722aac495014f190d2c8f14d7b3ee0b1b712186.tar.gz forums-3722aac495014f190d2c8f14d7b3ee0b1b712186.tar.bz2 forums-3722aac495014f190d2c8f14d7b3ee0b1b712186.tar.xz forums-3722aac495014f190d2c8f14d7b3ee0b1b712186.zip |
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus:
[ticket/12847] Allow the extensions to say if they can be enabled
Diffstat (limited to 'phpBB/phpbb/extension/extension_interface.php')
-rw-r--r-- | phpBB/phpbb/extension/extension_interface.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/phpbb/extension/extension_interface.php b/phpBB/phpbb/extension/extension_interface.php index cc8b8be980..6a6b6adb8f 100644 --- a/phpBB/phpbb/extension/extension_interface.php +++ b/phpBB/phpbb/extension/extension_interface.php @@ -20,6 +20,13 @@ namespace phpbb\extension; interface extension_interface { /** + * Indicate whether or not the extension can be enabled. + * + * @return bool + */ + public function is_enableable(); + + /** * enable_step is executed on enabling an extension until it returns false. * * Calls to this function can be made in subsequent requests, when the |