files app is always enabled

This commit is contained in:
Robin Appelman 2012-05-20 18:49:13 +02:00
parent d7c09d8bb5
commit 3b4c47c52e

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