src/Shell/ClearShell.php
public function emptyFolders($path = null) {
		if ($path) {
			$path = realpath($path);
		}
		if (!$path) {
			$path = ROOT . DS;
		}

		$this->out('Clearing empty folders in ' . $path);

		$this->_clearEmpty($path);
	}
public function emptyFolders($path = null) {
		if ($path) {
			$path = realpath($path);
		}
		if (!$path) {
			$path = ROOT . DS;
		}

		$this->out('Clearing empty folders in ' . $path);

		$this->_clearEmpty($path);
	}
public function emptyFolders ( $ path = null ) { if ( $ path ) { $ path = realpath ( $ path ) ; } if ( ! $ path ) { $ path = ROOT . DS ; } $ this -> out ( 'Clearing empty folders in ' . $ path ) ; $ this -> _clearEmpty ( $ path ) ; }
Clean out empty folders that only contain an "empty" placeholder file.

@param string|null $path

@return void
Clean out empty folders that only contain an empty placeholder file .