diff options
author | root <root@oc.(none)> | 2013-01-30 12:08:14 +0100 |
---|---|---|
committer | root <root@oc.(none)> | 2013-01-30 12:08:14 +0100 |
commit | 3fa4b3abff5040a46720b2d11531d36a65e4836e (patch) | |
tree | 734f52b8a0c40f24827c6cce3d5faed85e5bc89f /lib/app.php | |
parent | a27f92a17ae12d2d1ff48b26aadfecd7c221c589 (diff) | |
download | nextcloud-server-3fa4b3abff5040a46720b2d11531d36a65e4836e.tar.gz nextcloud-server-3fa4b3abff5040a46720b2d11531d36a65e4836e.zip |
apps updater is now working
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/app.php b/lib/app.php index 13f54d6cf75..52df04e73b8 100644 --- a/lib/app.php +++ b/lib/app.php @@ -179,7 +179,7 @@ class OC_App{ * This function checks whether or not an app is enabled. */ public static function isEnabled( $app ) { - if( 'files'==$app or 'yes' == OC_Appconfig::getValue( $app, 'enabled' )) { + if( 'files'==$app or ('yes' == OC_Appconfig::getValue( $app, 'enabled' ))) { return true; } @@ -236,10 +236,8 @@ class OC_App{ // check if app is a shiped app or not. if not delete if(!OC_App::isShipped( $app )){ -// error_log($app.' not shipped'); OC_Installer::removeApp( $app ); }else{ -// error_log($app.' shipped'); } } |