From: Robin Appelman Date: Sun, 20 May 2012 16:49:13 +0000 (+0200) Subject: files app is always enabled X-Git-Tag: v4.5.0beta1~74^2~430^2~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f00b57f8be38382b103538813eec9749764658cb;p=nextcloud-server.git files app is always enabled --- diff --git a/lib/app.php b/lib/app.php index c4cdd216838..e3e9df0e008 100644 --- a/lib/app.php +++ b/lib/app.php @@ -155,7 +155,7 @@ class OC_App{ * This function checks whether or not an app is enabled. */ public static function isEnabled( $app ){ - if( 'yes' == OC_Appconfig::getValue( $app, 'enabled' )){ + if( 'files'==$app or 'yes' == OC_Appconfig::getValue( $app, 'enabled' )){ return true; }