File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -450,11 +450,8 @@ angular.module('mm.addons.messages')
450450 self . markMessageRead = function ( messageId ) {
451451 var params = {
452452 'messageid' : messageId
453- } ,
454- preSets = {
455- typeExpected : 'boolean'
456453 } ;
457- return $mmSite . write ( 'core_message_mark_message_read' , params , preSets ) ;
454+ return $mmSite . write ( 'core_message_mark_message_read' , params ) ;
458455
459456 } ;
460457
Original file line number Diff line number Diff line change @@ -215,11 +215,8 @@ angular.module('mm.addons.notifications')
215215 self . markNotificationRead = function ( notificationId ) {
216216 var params = {
217217 'messageid' : notificationId
218- } ,
219- preSets = {
220- typeExpected : 'boolean'
221218 } ;
222- return $mmSite . write ( 'core_message_mark_message_read' , params , preSets ) ;
219+ return $mmSite . write ( 'core_message_mark_message_read' , params ) ;
223220
224221 } ;
225222
You can’t perform that action at this time.
0 commit comments