public function delete($user, $imageIdentifier)
{
if (!$this->imageExists($user, $imageIdentifier)) {
throw new StorageException('File not found', 404);
}
return (bool) $this->getConnection()->delete($this->getTableName($user, $imageIdentifier), ['user' => $user, 'imageIdentifier' => $imageIdentifier]);
}