summaryrefslogtreecommitdiffstats
path: root/lib/private/updater.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-10 19:54:00 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-10 19:54:00 +0100
commit1cde17d60b0f6aec8e50e31f5db8c76c92f8d1e3 (patch)
tree16b0987914ec6c5fac320c0ce84f5b6d41c50046 /lib/private/updater.php
parent58b18de90dc21f3fc3dcfb99820c239443c963de (diff)
parent242cbb802a980f47f4f5038154069768327e1487 (diff)
downloadnextcloud-server-1cde17d60b0f6aec8e50e31f5db8c76c92f8d1e3.tar.gz
nextcloud-server-1cde17d60b0f6aec8e50e31f5db8c76c92f8d1e3.zip
Merge pull request #7602 from owncloud/flush-updater-cache
Reset time of last update feed polling after successful update
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r--lib/private/updater.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php
index 292752067bf..fd2d46a1fac 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -136,6 +136,8 @@ class Updater extends BasicEmitter {
$repair = new Repair();
$repair->run();
+ //Invalidate update feed
+ \OC_Appconfig::setValue('core', 'lastupdatedat', 0);
\OC_Config::setValue('maintenance', false);
$this->emit('\OC\Updater', 'maintenanceEnd');
}