MAPG-142 remove unnecessary 'now' from DateTime constructor

This commit is contained in:
Bence Pőcze 2020-07-05 12:26:53 +02:00
parent ef013b8b9e
commit 38885849de
Signed by: bence
GPG Key ID: AA52B11A3269D1C1

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);