Fix 'Line exceeds 132 characters'

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-10-26 14:31:00 +04:00
parent 09c54f6627
commit ad5fb98070
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -118,7 +118,8 @@ function save_records($records) {
$recordid = $DB->insert_record('local_webhooks_service', (object) $record, true, false);
if ($recordid && is_array($record['events'])) {
foreach ($record['events'] as $eventname) {
$DB->insert_record('local_webhooks_events', (object) array('name' => $eventname, 'serviceid' => $recordid), true, false);
$event = array('name' => $eventname, 'serviceid' => $recordid);
$DB->insert_record('local_webhooks_events', (object) $event, true, false);
}
}
}