Skip to content

Commit

Permalink
[ETS-33] Fix Cron Job Fehler - Class Not Found Error
Browse files Browse the repository at this point in the history
  • Loading branch information
MTroesken committed Aug 16, 2018
1 parent ebb7bbd commit 7cc059b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Bootstrapping/Events/UpdateTransactionsSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private function findCandidateOrdersForUpdate($config)

if (empty($changeDate)) {
$date = new \DateTime();
$date->sub(new DateInterval('PT1H'));
$date->sub(new \DateInterval('PT1H'));
$changeDate = $date->format('Y-m-d H:i:s');
}

Expand Down
2 changes: 1 addition & 1 deletion Component/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function isRatePAYPayment()
*/
public function isAgeValid()
{
$today = new DateTime("now");
$today = new \DateTime("now");

$birthday = $this->_user->getBirthday();
if (empty($birthday) || is_null($birthday)) {
Expand Down

0 comments on commit 7cc059b

Please sign in to comment.