aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2019-04-12 12:36:37 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-09-30 20:25:54 +0200
commitd7c644a7923783f875ed7820d52388c8d9f765fb (patch)
treef8a0d644b0c7dfe138390464cbb5fde781625ca6 /phpBB
parent975fe1e153c35d7079d06655c43303b04a6502a7 (diff)
downloadforums-d7c644a7923783f875ed7820d52388c8d9f765fb.tar
forums-d7c644a7923783f875ed7820d52388c8d9f765fb.tar.gz
forums-d7c644a7923783f875ed7820d52388c8d9f765fb.tar.bz2
forums-d7c644a7923783f875ed7820d52388c8d9f765fb.tar.xz
forums-d7c644a7923783f875ed7820d52388c8d9f765fb.zip
[ticket/15257] Address validation issues
PHPBB3-15257
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_extensions.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index da03b576bf..a9cbb8956b 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -724,6 +724,13 @@ class acp_extensions
}
}
+ /**
+ * Checks whether the extension can be enabled. Triggers error if not.
+ * Error message can be set by the extension.
+ *
+ * @param bool|array $enableable True if extension is enableable, array of reasons
+ * if not, false for generic reason.
+ */
protected function check_is_enableable($enableable)
{
if ($enableable !== true)