src/Chee/Module/CheeModule.php
protected function removeModuleDirectory($moduleName)
    {
        $this->files->deleteDirectory($this->getModuleDirectory($moduleName));
        if($this->files->exists($this->getModuleDirectory($moduleName)))
        {
            $this->errors->add('delete_files', 'Unable to delete '.$this->getModuleDirectory($moduleName));
            return false;
        }
        return true;
    }
protected function removeModuleDirectory($moduleName)
    {
        $this->files->deleteDirectory($this->getModuleDirectory($moduleName));
        if($this->files->exists($this->getModuleDirectory($moduleName)))
        {
            $this->errors->add('delete_files', 'Unable to delete '.$this->getModuleDirectory($moduleName));
            return false;
        }
        return true;
    }
protected function removeModuleDirectory ( $ moduleName ) { $ this -> files -> deleteDirectory ( $ this -> getModuleDirectory ( $ moduleName ) ) ; if ( $ this -> files -> exists ( $ this -> getModuleDirectory ( $ moduleName ) ) ) { $ this -> errors -> add ( 'delete_files' , 'Unable to delete ' . $ this -> getModuleDirectory ( $ moduleName ) ) ; return false ; } return true ; }
Remove module directory

@param string $moduleName
@return bool
Remove module directory