From 3fa4b3abff5040a46720b2d11531d36a65e4836e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 30 Jan 2013 12:08:14 +0100 Subject: apps updater is now working --- lib/app.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/app.php') 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'); } } -- cgit v1.2.3