aboutsummaryrefslogtreecommitdiffstats
path: root/lib/updater.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/updater.php')
-rw-r--r--lib/updater.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/updater.php b/lib/updater.php
index cc4a4602539..57623797ae5 100644
--- a/lib/updater.php
+++ b/lib/updater.php
@@ -29,12 +29,12 @@ class OC_Updater{
* Check if a new version is available
*/
public static function check(){
- OC_Config::setValue('lastupdatedat',microtime(true));
+ OC_Appconfig::setValue('core', 'lastupdatedat',microtime(true));
$updaterurl='http://apps.owncloud.com/updater.php';
$version=OC_Util::getVersion();
- $version['installed']=OC_Config::getValue( "installedat");
- $version['updated']=OC_Config::getValue( "lastupdatedat");
+ $version['installed']=OC_Config::getValue('installedat');
+ $version['updated']=OC_Appconfig::getValue('core', 'lastupdatedat', OC_Config::getValue( 'lastupdatedat'));
$version['updatechannel']='stable';
$versionstring=implode('x',$version);