files app is always enabled

This commit is contained in:
Robin Appelman 2012-05-20 18:49:13 +02:00
parent 2f8f7501ef
commit f00b57f8be
1 changed files with 1 additions and 1 deletions

View 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;
}