From 519e64205a50b15efa8589901c87f5b21448993a Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 13 Jul 2014 15:44:58 +0200 Subject: [ticket/12847] Allow the extensions to say if they can be enabled PHPBB3-12847 --- phpBB/phpbb/extension/extension_interface.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'phpBB/phpbb/extension/extension_interface.php') 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 @@ -19,6 +19,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. * -- cgit v1.2.1