diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-05-19 01:55:20 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-05-19 01:55:20 +0200 |
commit | b096fd9ed8811c92177864f76e91ae939d42ead4 (patch) | |
tree | 0d21e65854b03d357e15602883c4f14aedcf1517 /lib/app.php | |
parent | df64b9b0e9a5181bd162efde180f2fef23a13f3d (diff) | |
download | nextcloud-server-b096fd9ed8811c92177864f76e91ae939d42ead4.tar.gz nextcloud-server-b096fd9ed8811c92177864f76e91ae939d42ead4.zip |
log upgrades
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php index 554724d238b..7cb18a7ab00 100644 --- a/lib/app.php +++ b/lib/app.php @@ -495,7 +495,6 @@ class OC_App{ * check if any apps need updating and update those */ public static function updateApps(){ - // The rest comes here $versions = self::getAppVersions(); //ensure files app is installed for upgrades if(!isset($versions['files'])){ @@ -505,6 +504,7 @@ class OC_App{ $currentVersion=OC_App::getAppVersion($app); if ($currentVersion) { if (version_compare($currentVersion, $installedVersion, '>')) { + OC_Log::write($app,'starting app upgrade from '.$installedVersion.' to '.$currentVersion,OC_Log::DEBUG); OC_App::updateApp($app); OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion($app)); } |