src/Chee/Module/CheeModule.php
public function removeAssets($moduleName)
    {
        $assets = $this->getAssetDirectory($moduleName);

        $this->files->deleteDirectory($assets);
        if ($this->files->exists($assets))
        {
            $this->errors->add('delete_assets', 'Unable to delete assets in: '.$assets);
            return false;
        }
        return true;
    }
public function removeAssets($moduleName)
    {
        $assets = $this->getAssetDirectory($moduleName);

        $this->files->deleteDirectory($assets);
        if ($this->files->exists($assets))
        {
            $this->errors->add('delete_assets', 'Unable to delete assets in: '.$assets);
            return false;
        }
        return true;
    }
public function removeAssets ( $ moduleName ) { $ assets = $ this -> getAssetDirectory ( $ moduleName ) ; $ this -> files -> deleteDirectory ( $ assets ) ; if ( $ this -> files -> exists ( $ assets ) ) { $ this -> errors -> add ( 'delete_assets' , 'Unable to delete assets in: ' . $ assets ) ; return false ; } return true ; }
Remove assets of a module

@param string $moduleName
@return bool
Remove assets of a module