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

run1() protected method

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