aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-23 11:44:33 +0200
committerGitHub <noreply@github.com>2023-10-23 11:44:33 +0200
commitf9d209cf1519e10cf15e8a8e431ee62dd3192a59 (patch)
tree25c37dc0974912d649899c0dff0bf4cb8567eaf2 /lib
parent5d36c4c1d1a13a872f0bfd73086166c1bf8036db (diff)
downloadnextcloud-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.php2
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);
}
}