From f00b57f8be38382b103538813eec9749764658cb Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Sun, 20 May 2012 18:49:13 +0200
Subject: [PATCH] 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 c4cdd21683..e3e9df0e00 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;
 		}
 
-- 
GitLab