From 3b4c47c52e1d8d45949806fd7d248ade7592e6d1 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 20 May 2012 18:49:13 +0200 Subject: files app is always enabled --- lib/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3