'Bans app from Marketplace, clears app from all queues.
Changes status to Disabled.
Creates Banned/Disabled note.'

def process_disable(self):

    if (not acl.action_allowed(self.request, 'Apps', 'Edit')):
        return
    self.set_files(mkt.STATUS_DISABLED, File.objects.filter(version__addon=self.addon), hide_disabled_file=True)
    self.addon.update(status=mkt.STATUS_DISABLED)
    if self.in_escalate:
        EscalationQueue.objects.filter(addon=self.addon).delete()
    if self.in_rereview:
        RereviewQueue.objects.filter(addon=self.addon).delete()
    self.create_note(mkt.LOG.APP_DISABLED)
    log.info((u'App    %s    has    been    banned    by    a    reviewer.' % self.addon))
