diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-10 19:54:00 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-10 19:54:00 +0100 |
commit | 1cde17d60b0f6aec8e50e31f5db8c76c92f8d1e3 (patch) | |
tree | 16b0987914ec6c5fac320c0ce84f5b6d41c50046 /lib/private/updater.php | |
parent | 58b18de90dc21f3fc3dcfb99820c239443c963de (diff) | |
parent | 242cbb802a980f47f4f5038154069768327e1487 (diff) | |
download | nextcloud-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.php | 2 |
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'); } |