skeeks\cms\components\storage\ClusterLocal::delete PHP Method

delete() public method

Удаление файла
public delete ( $clusterFileUniqSrc ) : boolean
return boolean
    public function delete($clusterFileUniqSrc)
    {
        $file = new File($this->getRootSrc($clusterFileUniqSrc));
        if ($file->isExist()) {
            $file->remove();
        }
        return true;
    }