Skip to content
Snippets Groups Projects
Unverified Commit 6006e4b6 authored by Ryan Smith's avatar Ryan Smith Committed by GitHub
Browse files

fix: Fixes cron errors reported by @funclickearn_twitter. (#202)

parent 861c15ce
No related branches found
No related tags found
No related merge requests found
......@@ -8,5 +8,6 @@
/node_modules
/notes.md
/vendor
/version.php
/xapi
/xapi.zip
\ No newline at end of file
......@@ -45,6 +45,6 @@ class emit_task extends \core\task\scheduled_task {
return $transformedevent['eventid'];
}, $loadedevents);
$DB->delete_records_list('logstore_xapi_log', 'id', $loadedeventids);
mtrace("Events (".$loadedeventids.") have been successfully sent to LRS.");
mtrace("Events (".implode(', ', $loadedeventids).") have been successfully sent to LRS.");
}
}
......@@ -16,6 +16,7 @@
defined('MOODLE_INTERNAL') || die();
\$plugin = isset(\$plugin) && is_object(\$plugin) ? \$plugin : new \stdClass();
\$plugin->component = 'logstore_xapi';
\$plugin->version = $version;
\$plugin->release = '$release';
......
......@@ -16,9 +16,9 @@
defined('MOODLE_INTERNAL') || die();
$plugin = isset($plugin) && is_object($plugin) ? $plugin : new StdClass();
$plugin = isset($plugin) && is_object($plugin) ? $plugin : new \stdClass();
$plugin->component = 'logstore_xapi';
$plugin->version = 2018061100;
$plugin->release = '0.0.0-development';
$plugin->version = 2018073005;
$plugin->release = '';
$plugin->requires = 2014111000;
$plugin->maturity = MATURITY_ALPHA;
$plugin->maturity = MATURITY_STABLE;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment