diff --git a/lib/installer.php b/lib/installer.php
index bf81cbdadafd9c64e4477b846a79dfab7e97a26f..f1b386a3e96dae3ff5628b98d603667e48bbbab6 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -254,7 +254,7 @@ class OC_Installer{
 	 * upgrade.php can determine the current installed version of the app using "OC_Appconfig::getValue($appid, 'installed_version')"
 	 */
 	public static function updateApp( $app ) {
-		$ocsid=OC_Appconfig::getValue( $app, 'ocsid', '');
+		$ocsid=OC_Appconfig::getValue( $app, 'ocsid');
 		OC_App::disable($app);
 		OC_App::enable($ocsid);
 	}