summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-20 18:49:13 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-20 18:52:27 +0200
commit3b4c47c52e1d8d45949806fd7d248ade7592e6d1 (patch)
treea8e1d825851e19f49ba5fa7b01e44088c1f93f3a
parentd7c09d8bb5abe5b67c95333f1e69490b74db039e (diff)
downloadnextcloud-server-3b4c47c52e1d8d45949806fd7d248ade7592e6d1.tar.gz
nextcloud-server-3b4c47c52e1d8d45949806fd7d248ade7592e6d1.zip
files app is always enabled
-rw-r--r--lib/app.php2
1 files changed, 1 insertions, 1 deletions
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;
}