public function delete(WSL_Model_File_File $file) { // Identificador Vazio? if (!$file->getConfig()->hasParam('id')) { // Confirmar Remoção return true; } // Remover Conteúdo $this->getAdapter()->delete('wsl_files', array('id' => $file->getConfig()->getParam('id'))); // Remover Parâmetro $file->getConfig()->setParam('id', null); // Contabilizar Hashes $counter = $this->_count($file->getHash()); // Remover Elemento? return $counter == 0; }