Skip to content

Commit

Permalink
phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhancox authored and tim-schilling committed Mar 4, 2024
1 parent b03ea96 commit c687e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/external/get_site_admins.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static function execute(): array {
global $CFG, $DB;

return [
'users' => lib::get_users($DB->get_records_list('user','id', explode(',', $CFG->siteadmins))),
'users' => lib::get_users($DB->get_records_list('user', 'id', explode(',', $CFG->siteadmins))),
'warnings' => [],
];
}
Expand Down
2 changes: 1 addition & 1 deletion classes/local/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public static function get_users($users): array {
require_once($CFG->dirroot . "/user/lib.php");

// Finally retrieve each users information.
$returnedusers = array();
$returnedusers = [];
foreach ($users as $user) {
$details = user_get_user_details_courses($user);

Expand Down

0 comments on commit c687e8b

Please sign in to comment.