MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
This commit is contained in:
+1
-3
@@ -873,9 +873,7 @@ function data_update_instance($data) {
|
||||
$data->notification = 0;
|
||||
}
|
||||
|
||||
if (! $DB->update_record('data', $data)) {
|
||||
return false;
|
||||
}
|
||||
$DB->update_record('data', $data);
|
||||
|
||||
data_grade_item_update($data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user