From 38885849de09f7e07b271d3325e05722f2754916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 5 Jul 2020 12:26:53 +0200 Subject: [PATCH] MAPG-142 remove unnecessary 'now' from DateTime constructor --- src/PersistentData/Model/Place.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PersistentData/Model/Place.php b/src/PersistentData/Model/Place.php index 033f05e..6a3b029 100644 --- a/src/PersistentData/Model/Place.php +++ b/src/PersistentData/Model/Place.php @@ -166,7 +166,7 @@ class Place extends Model } $this->panoIdCached = $panoId; - $this->panoIdCachedTimestamp = new DateTime('now'); + $this->panoIdCachedTimestamp = new DateTime(); (new PersistentDataManager())->saveToDb($this);