Skip to content

Instantly share code, notes, and snippets.

@andrewnicols andrewnicols/test.php
Last active Dec 22, 2015

What would you like to do?
define("CLI_SCRIPT", true);
$user = $DB->get_record('user', ['id' => 2634]);
$enabled = enrol_get_plugins(true);
foreach($enabled as $enrol) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.