MAPG-142 remove unnecessary 'now' from DateTime constructor

This commit is contained in:
bence committed 2020-07-05 14:24:05 +02:00
1 parent ef013b8b9e
commit 38885849de
1 file changed
+1 -1
+1 -1
View File
@@ -166,7 +166,7 @@ class Place extends Model
}
$this->panoIdCached = $panoId;
$this->panoIdCachedTimestamp = new DateTime('now');
$this->panoIdCachedTimestamp = new DateTime();
(new PersistentDataManager())->saveToDb($this);