mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
More debug...
This commit is contained in:
parent
e60e65ab5f
commit
0aefd39fd4
@ -48,6 +48,7 @@ $db->debug=true;
|
||||
if ($users) {
|
||||
//Iterate over users putting their roles
|
||||
foreach ($users as $user) {
|
||||
echo $user->id."<br>";
|
||||
$user->info = "";
|
||||
//Is Admin in tables (not is_admin()) !!
|
||||
if (record_exists("user_admins","userid",$user->id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user