Verified Commit 69595aa5 authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: quick backup

quick backup
Showing with 2 additions and 1 deletion
+2 -1
...@@ -145,12 +145,13 @@ class TaskGateway ...@@ -145,12 +145,13 @@ class TaskGateway
$this->unsetCountKeys($tasks); $this->unsetCountKeys($tasks);
if (!empty($tasks)) { if (!empty($tasks)) {
// Initiate the object webservice. // Initiate the object webservice.
$webservice = new WebServiceCall($_ENV['FUSION_DIRECTORY_API_URL'] . '/login', 'POST'); $webservice = new WebServiceCall($_ENV['FUSION_DIRECTORY_API_URL'] . '/login', 'POST');
// Required to prepare future webservice call. E.g. Retrieval of mandatory token. // Required to prepare future webservice call. E.g. Retrieval of mandatory token.
$webservice->setCurlSettings(); $webservice->setCurlSettings();
// Is used to verify cyclic schedule with date format. // Is used to verify cyclic schedule with date format. This use de local timezone - not UTC
$now = new DateTime('now'); $now = new DateTime('now');
foreach ($tasks as $task) { foreach ($tasks as $task) {
......
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