webservice MDL-17135 remove varlog() calls (personal debug function)

This commit is contained in:
jerome 2009-10-14 09:50:54 +00:00
parent 772db6322b
commit ccbef34880

View File

@ -45,7 +45,6 @@ $alloweduserselector = new service_allowed_user_selector('removeselect', array('
if (!empty($userstoassign)) { if (!empty($userstoassign)) {
foreach ($userstoassign as $adduser) { foreach ($userstoassign as $adduser) {
varlog($adduser);
global $DB; global $DB;
$serviceuser = new object(); $serviceuser = new object();
$serviceuser->externalserviceid = $id; $serviceuser->externalserviceid = $id;
@ -66,7 +65,6 @@ $alloweduserselector = new service_allowed_user_selector('removeselect', array('
if (!empty($userstoremove)) { if (!empty($userstoremove)) {
foreach ($userstoremove as $removeuser) { foreach ($userstoremove as $removeuser) {
varlog($removeuser);
global $DB; global $DB;
$DB->delete_records('external_services_users', array('externalserviceid' => $id, 'userid' => $removeuser->id)); $DB->delete_records('external_services_users', array('externalserviceid' => $id, 'userid' => $removeuser->id));
add_to_log(1, 'core', 'assign', 'admin/external_service_users.php?id='.$id, 'remove', '', $removeuser->id); add_to_log(1, 'core', 'assign', 'admin/external_service_users.php?id='.$id, 'remove', '', $removeuser->id);