static function removeFilepath($contentObjectAttributeID, $filepath) { if (empty($filepath)) { return false; } $fileObject = eZImageFile::fetchByFilePath($contentObjectAttributeID, $filepath); if (!$fileObject) { return false; } $fileObject->remove(); return true; }