Correction of implicit style errors

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2018-10-22 03:14:31 +04:00
parent 14e5a16a33
commit 99c835a63d
8 changed files with 153 additions and 150 deletions

View File

@ -24,11 +24,11 @@
namespace local_webhooks\task;
defined('MOODLE_INTERNAL') || die();
global $CFG;
require_once $CFG->dirroot . '/local/webhooks/lib.php';
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/local/webhooks/lib.php');
/**
* Class process_events_task
@ -60,7 +60,8 @@ class process_events_task extends \core\task\adhoc_task {
$curl->setHeader(array('Content-Type: ' . $service->header));
$curl->post($service->point, json_encode($event));
// TODO: Mark the log
// TODO: Mark the log.
$curl->getResponse();
}
}