summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/composer
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-11-14 09:39:14 +0100
committerJoas Schilling <coding@schilljs.com>2018-11-14 10:14:23 +0100
commitaa88254f6468fb0319471a11ce2ba3235bc464a3 (patch)
tree4b5c0fce7b3fabc178eaded9d6ffffc34f3da46b /apps/federatedfilesharing/composer
parentfef51895c2689275805bc166bc3f5be95a836b35 (diff)
downloadnextcloud-server-aa88254f6468fb0319471a11ce2ba3235bc464a3.tar.gz
nextcloud-server-aa88254f6468fb0319471a11ce2ba3235bc464a3.zip
Shorten index name of calendar changes table
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/federatedfilesharing/composer')
-rw-r--r--apps/federatedfilesharing/composer/composer/ClassLoader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/composer/composer/ClassLoader.php b/apps/federatedfilesharing/composer/composer/ClassLoader.php
index 95f7e0978ba..fce8549f078 100644
--- a/apps/federatedfilesharing/composer/composer/ClassLoader.php
+++ b/apps/federatedfilesharing/composer/composer/ClassLoader.php
@@ -279,7 +279,7 @@ class ClassLoader
*/
public function setApcuPrefix($apcuPrefix)
{
- $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
+ $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}
/**