$previewpath = $this->getThumbnailsFolder() . '/' . $fileid . '/' . $this->getMaxX() . '-' . $this->getMaxY() . '.png';
$this->userview->unlink($previewpath);
- return $this->userview->file_exists($previewpath);
+ return !$this->userview->file_exists($previewpath);
}
/**
$previewpath = $this->getThumbnailsFolder() . '/' . $fileid . '/';
$this->userview->deleteAll($previewpath);
$this->userview->rmdir($previewpath);
- return $this->userview->is_dir($previewpath);
+ return !$this->userview->is_dir($previewpath);
}
/**