1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-23 17:34:56 +02:00

Merge branch 'MDL-64274-master' of git://github.com/ryanwyllie/moodle

This commit is contained in:
Jun Pataleta 2018-12-05 14:56:21 +08:00
commit f8b5fcd304
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

@ -524,7 +524,7 @@ define(['jquery', 'core/ajax', 'core/notification'], function($, Ajax, Notificat
* @return {object} jQuery promise
*/
var deleteMessages = function(userId, messageIds) {
return Ajax.call(messageIds.map(function(messageId) {
return $.when.apply(null, Ajax.call(messageIds.map(function(messageId) {
return {
methodname: 'core_message_delete_message',
args: {
@ -532,7 +532,7 @@ define(['jquery', 'core/ajax', 'core/notification'], function($, Ajax, Notificat
userid: userId
}
};
}));
})));
};
/**