diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-10-23 11:44:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 11:44:33 +0200 |
commit | f9d209cf1519e10cf15e8a8e431ee62dd3192a59 (patch) | |
tree | 25c37dc0974912d649899c0dff0bf4cb8567eaf2 /lib | |
parent | 5d36c4c1d1a13a872f0bfd73086166c1bf8036db (diff) | |
download | nextcloud-server-f9d209cf1519e10cf15e8a8e431ee62dd3192a59.tar.gz nextcloud-server-f9d209cf1519e10cf15e8a8e431ee62dd3192a59.zip |
Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/TextToImage/Db/TaskMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TextToImage/Db/TaskMapper.php b/lib/private/TextToImage/Db/TaskMapper.php index 2cf9cff5882..00c99706960 100644 --- a/lib/private/TextToImage/Db/TaskMapper.php +++ b/lib/private/TextToImage/Db/TaskMapper.php @@ -122,7 +122,7 @@ class TaskMapper extends QBMapper { } public function update(Entity $entity): Entity { - $entity->setLastUpdated(DateTime::createFromImmutable($this->timeFactory->now())); + $entity->setLastUpdated($this->timeFactory->getDateTime()); return parent::update($entity); } } |