MDL-24321 switching to stdClass in /admin/ and /

This commit is contained in:
Petr Skoda
2010-09-21 08:44:02 +00:00
parent 39790bd805
commit a226a972f7
24 changed files with 61 additions and 61 deletions
+2 -2
View File
@@ -99,7 +99,7 @@
}
$aclrecord = $DB->get_record('mnet_sso_access_control', array('username'=>$user->username, 'mnet_host_id'=>$user->mnethostid));
if (empty($aclrecord)) {
$aclrecord = new object();
$aclrecord = new stdClass();
$aclrecord->mnet_host_id = $user->mnethostid;
$aclrecord->username = $user->username;
$aclrecord->accessctrl = $accessctrl;
@@ -195,7 +195,7 @@
$users = $nusers;
}
$override = new object();
$override = new stdClass();
$override->firstname = 'firstname';
$override->lastname = 'lastname';
$fullnamelanguage = get_string('fullnamedisplay', '', $override);