Scalr\Upgrade\Updates\Update20151015131054::run3 PHP Method

run3() protected method

protected run3 ( $stage )
    protected function run3($stage)
    {
        $this->console->out("Deleting ACL Analytics Project resource");
        $this->db->BeginTrans();
        try {
            $this->db->Execute("DELETE FROM `acl_role_resources` WHERE `resource_id` = ?\n                ", [self::RESOURCE_ANALYTICS_PROJECTS]);
            $this->db->Execute("DELETE FROM `acl_account_role_resources` WHERE `resource_id` = ?\n                ", [self::RESOURCE_ANALYTICS_PROJECTS]);
            $this->db->CommitTrans();
        } catch (Exception $e) {
            $this->db->RollbackTrans();
            throw $e;
        }
    }