Skip to content
Snippets Groups Projects
Commit f00b57f8 authored by Robin Appelman's avatar Robin Appelman
Browse files

files app is always enabled

parent 2f8f7501
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ class OC_App{ ...@@ -155,7 +155,7 @@ class OC_App{
* This function checks whether or not an app is enabled. * This function checks whether or not an app is enabled.
*/ */
public static function isEnabled( $app ){ public static function isEnabled( $app ){
if( 'yes' == OC_Appconfig::getValue( $app, 'enabled' )){ if( 'files'==$app or 'yes' == OC_Appconfig::getValue( $app, 'enabled' )){
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment