public function removeImage($entityId)
    {
        if (!$entityId) {
            return false;
        }

        $delete = '
        UPDATE ' . $this->repository->getClassName() . ' a
        SET a.image = NULL
        WHERE a.id = ' . $entityId . '
        ';
        $q = $this->query($delete);
        $q->execute();
    }
public function removeImage($entityId)
    {
        if (!$entityId) {
            return false;
        }

        $delete = '
        UPDATE ' . $this->repository->getClassName() . ' a
        SET a.image = NULL
        WHERE a.id = ' . $entityId . '
        ';
        $q = $this->query($delete);
        $q->execute();
    }
public function removeImage ( $ entityId ) { if ( ! $ entityId ) { return false ; } $ delete = '
        UPDATE ' . $ this -> repository -> getClassName ( ) . ' a
        SET a.image = NULL
        WHERE a.id = ' . $ entityId . '
        ' ; $ q = $ this -> query ( $ delete ) ; $ q -> execute ( ) ; }
Sets image to NULL
@param string $entityId
Sets image to NULL