Pimcore\Model\Tool\UUID\Dao::delete PHP Method

delete() public method

public delete ( )
    public function delete()
    {
        $uuid = $this->model->getUuid();
        if (!$uuid) {
            throw new \Exception("Couldn't delete UUID - no UUID specified.");
        }
        $this->db->delete(self::TABLE_NAME, "uuid='" . $uuid . "'");
    }