removed some leftover code; use already existing var for path to users file folder

This commit is contained in:
Björn Schießle 2013-04-22 12:32:38 +02:00
parent 8a46e809f0
commit 1705938848
1 changed files with 2 additions and 2 deletions

View File

@ -895,8 +895,8 @@ class Util {
*/
public function getAllFiles($dir) {
$result = array();
$path = $this->view->getLocalFile();
$content = $this->view->getDirectoryContent("/".$this->userFilesDir.'/'.$this->filesFolderName.$dir);
$content = $this->view->getDirectoryContent($this->userFilesDir.$dir);
foreach ($content as $c) {
if ($c['type'] === "dir" ) {