Scalr\Upgrade\Updates\Update20150116130622::rollback PHP Метод

rollback() публичный Метод

public rollback ( $code, $message )
    public function rollback($code, $message)
    {
        $this->console->error("{$code}: {$message}");
        if ($this->db) {
            $this->console->error("Changes will be rolled back!");
            $this->db->Execute("ROLLBACK;");
            $this->console->error("Changes rolled back!");
        }
        return false;
    }