mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
This commit is contained in:
parent
a8c31db2a3
commit
0bcf8b6f0d
10 changed files with 21 additions and 83 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue