summaryrefslogtreecommitdiffstats
path: root/lib
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:03 +0200
commitf00b57f8be38382b103538813eec9749764658cb (patch)
tree6cc026ad896888fa496397b7cc2fa61677cbcdf2 /lib
parent2f8f7501ef4c315767582c52f6806f0577e5df11 (diff)
downloadnextcloud-server-f00b57f8be38382b103538813eec9749764658cb.tar.gz
nextcloud-server-f00b57f8be38382b103538813eec9749764658cb.zip
files app is always enabled
Diffstat (limited to 'lib')
-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;
}