merged, taking care of a warning

This commit is contained in:
toyomoyo 2006-10-27 02:15:02 +00:00
parent c81aa39f92
commit 4bda5c717c

View file

@ -1301,7 +1301,9 @@ function update_record($table, $dataobject) {
// Remove this record from record cache since it will change
global $record_cache;
if (isset($record_cache[$table][$dataobject->id])) {
unset($record_cache[$table][$dataobject->id]);
}
/// Temporary hack as part of phasing out all access to obsolete user tables XXX
if (!empty($CFG->rolesactive)) {