This commit is contained in:
Robin Appelman 2013-07-08 21:13:23 +02:00
parent 9cd7ecd502
commit a0d5ba1167

View file

@ -10,7 +10,7 @@ namespace OC;
use OC\Hooks\BasicEmitter;
/**
* Class that handels autoupdating of ownCloud
* Class that handles autoupdating of ownCloud
*
* Hooks provided in scope \OC\Updater
* - maintenanceStart()
@ -52,7 +52,7 @@ class Updater extends BasicEmitter {
if (\OC_Appconfig::getValue('core', 'installedat', '') == '') {
\OC_Appconfig::setValue('core', 'installedat', microtime(true));
}
;
$version = \OC_Util::getVersion();
$version['installed'] = \OC_Appconfig::getValue('core', 'installedat');
$version['updated'] = \OC_Appconfig::getValue('core', 'lastupdatedat');