MDL-22232 messaging: updated upgrade code to reduce server load during upgrade
This commit is contained in:
+1
-1
@@ -6124,7 +6124,7 @@ FROM
|
||||
$DB->delete_records('user_preferences', array('name'=>'message_showmessagewindow'));
|
||||
|
||||
//re-introducing emailstop. check that its turned off so people dont suddenly stop getting notifications
|
||||
$DB->set_field('user', 'emailstop', 0);
|
||||
$DB->set_field('user', 'emailstop', 0, array('emailstop' => 1));
|
||||
|
||||
upgrade_main_savepoint(true, 2011033004.04);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user