From: Alexander Ebert Date: Fri, 12 Dec 2014 12:27:19 +0000 (+0100) Subject: Removed unnecessary code X-Git-Tag: 2.1.0_Beta_1~65 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a581023915eb307da2f178ccbb5c7d33facd3013;p=GitHub%2FWoltLab%2FWCF.git Removed unnecessary code --- diff --git a/wcfsetup/install/files/js/WCF.Moderation.js b/wcfsetup/install/files/js/WCF.Moderation.js index 5e6af1f665..d896a03d10 100644 --- a/wcfsetup/install/files/js/WCF.Moderation.js +++ b/wcfsetup/install/files/js/WCF.Moderation.js @@ -671,17 +671,5 @@ WCF.User.Panel.Moderation = WCF.User.Panel.Abstract.extend({ className: 'wcf\\data\\moderation\\queue\\ModerationQueueAction' }); this._proxy.sendRequest(); - }, - - /** - * @see WCF.User.Panel.Abstract._success() - */ - _success: function(data) { - this._super(data); - - if (data.actionName === 'markAllAsConfirmed') { - this.resetItems(); - this.updateBadge(0); - } } }); diff --git a/wcfsetup/install/files/js/WCF.User.js b/wcfsetup/install/files/js/WCF.User.js index db32cf5e93..f1ca461042 100644 --- a/wcfsetup/install/files/js/WCF.User.js +++ b/wcfsetup/install/files/js/WCF.User.js @@ -454,18 +454,6 @@ WCF.User.Panel.Notification = WCF.User.Panel.Abstract.extend({ this._proxy.sendRequest(); }, - /** - * @see WCF.User.Panel.Abstract._success() - */ - _success: function(data) { - this._super(data); - - if (data.actionName === 'markAllAsConfirmed') { - this.resetItems(); - this.updateBadge(0); - } - }, - /** * @see WCF.User.Panel.Abstract.resetItems() */