MAPG-142 remove unnecessary 'now' from DateTime constructor
This commit is contained in:
1 file changed
+1
-1
@@ -166,7 +166,7 @@ class Place extends Model
|
||||
}
|
||||
|
||||
$this->panoIdCached = $panoId;
|
||||
$this->panoIdCachedTimestamp = new DateTime('now');
|
||||
$this->panoIdCachedTimestamp = new DateTime();
|
||||
|
||||
(new PersistentDataManager())->saveToDb($this);
|
||||
|
||||
|
||||
Reference in new issue
Block a user