MDL-52105 enrol_self: fix upgrade savepoint
authorDan Poltawski <dan@moodle.com>
Mon, 15 Aug 2016 11:09:44 +0000 (12:09 +0100)
committerDan Poltawski <dan@moodle.com>
Mon, 15 Aug 2016 11:12:24 +0000 (12:12 +0100)
enrol/self/db/upgrade.php

index cfe93b7..581de7a 100644 (file)
@@ -55,7 +55,7 @@ function xmldb_enrol_self_upgrade($oldversion) {
                         array($role->id, 'enrol/self:holdkey', CAP_PROHIBIT));
             }
         }
-        upgrade_mod_savepoint(true, 2016052301, 'enrol_self');
+        upgrade_plugin_savepoint(true, 2016052301, 'enrol', 'self');
     }
 
     return true;