Commit 1b501ea1 authored by Jens Jacobsen's avatar Jens Jacobsen
Browse files

Fix usage of DateTime class

parent 088fa860
Pipeline #950 failed with stages
in 1 minute and 54 seconds
......@@ -151,8 +151,8 @@ class UpdateExtensionListTask extends \T3o\TerFe2\Task\AbstractTask
}
} else if (!empty($this->createExtensions)) {
$extension = $this->objectBuilder->create('\T3o\TerFe2\Domain\Model\Extension', $extensionRow);
$extension->setLastUpload(new DateTime());
$extension->setLastMaintained(new DateTime());
$extension->setLastUpload(new \DateTime());
$extension->setLastMaintained(new \DateTime());
$modified = TRUE;
} else {
\T3o\TerFe2\Utility\Log::addMessage('Extension "' . $extensionRow['ext_key'] . '" not found and not created', 'ter_fe2', 2);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment