From 81e461d75c42282a285e3b9bb1aa4e6c5527219b Mon Sep 17 00:00:00 2001 From: Artem Andreev Date: Sat, 11 Feb 2012 10:34:29 +0400 Subject: [PATCH] Fixed renaming's regression. Thanks Marty Gilbert. --- preferences.php | 2 +- sessions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/preferences.php b/preferences.php index 8bdfa92..83bf016 100644 --- a/preferences.php +++ b/preferences.php @@ -78,7 +78,7 @@ switch ($att->pageparams->action) { foreach ($acronym as $id => $v) { $att->update_status($id, $acronym[$id], $description[$id], $grade[$id], null); } - update_all_users_grades($att->id, $att->course, $att->context); + att_update_all_users_grades($att->id, $att->course, $att->context); break; } diff --git a/sessions.php b/sessions.php index e2dd833..473734a 100644 --- a/sessions.php +++ b/sessions.php @@ -72,7 +72,7 @@ switch ($att->pageparams->action) { if (isset($confirm)) { $att->delete_sessions(array($sessionid)); - update_all_users_grades($att->id, $att->course, $att->context); + att_update_all_users_grades($att->id, $att->course, $att->context); redirect($att->url_manage(), get_string('sessiondeleted','attforblock')); } @@ -99,7 +99,7 @@ switch ($att->pageparams->action) { $sessionsids = explode('_', $sessionsids); $att->delete_sessions($sessionsids); - update_all_users_grades($att->id, $att->course, $att->context); + att_update_all_users_grades($att->id, $att->course, $att->context); redirect($att->url_manage(), get_string('sessiondeleted','attforblock')); }