public function clearThumbnails($force = false) { if ($this->getDataChanged() || $force) { recursiveDelete($this->getImageThumbnailSavePath()); } }