Commit 8c0ddd96 authored by skummer's avatar skummer

ZP-390 #comment update last sync time on any change if no last sync time is set #time 20m

git-svn-id: https://z-push.org/svn/z-push/trunk@1669 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 1442f7b1
......@@ -397,7 +397,7 @@ class SyncParameters extends StateObject {
protected function preSerialize() {
parent::preSerialize();
if ($this->changed === true && $this->synckeyChanged)
if ($this->changed === true && ($this->synckeyChanged || $this->lastsynctime === false))
$this->lastsynctime = time();
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment