]> source.dussan.org Git - nextcloud-server.git/commitdiff
files app is always enabled
authorRobin Appelman <icewind@owncloud.com>
Sun, 20 May 2012 16:49:13 +0000 (18:49 +0200)
committerRobin Appelman <icewind@owncloud.com>
Sun, 20 May 2012 16:52:03 +0000 (18:52 +0200)
lib/app.php

index c4cdd2168382b6d0d54ab18c8eab0b21150c7a8e..e3e9df0e0089ce76b786ad0468b5d599aca0fdb9 100644 (file)
@@ -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;
                }