diff --git a/mod/scorm/version.php b/mod/scorm/version.php
index <HASH>..<HASH> 100644
--- a/mod/scorm/version.php
+++ b/mod/scorm/version.php
@@ -24,7 +24,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$module->version   = 2014031700;    // The current module version (Date: YYYYMMDDXX).
-$module->requires  = 2013110500;    // Requires this Moodle version.
-$module->component = 'mod_scorm';   // Full name of the plugin (used for diagnostics).
-$module->cron      = 300;
+$plugin->version   = 2014031700;    // The current module version (Date: YYYYMMDDXX).
+$plugin->requires  = 2013110500;    // Requires this Moodle version.
+$plugin->component = 'mod_scorm';   // Full name of the plugin (used for diagnostics).
+$plugin->cron      = 300;
MDL-<I> scorm: revert accidental change of variable module back to plugin