removed some leftover code; use already existing var for path to users file folder
This commit is contained in:
parent
8a46e809f0
commit
1705938848
|
@ -895,8 +895,8 @@ class Util {
|
||||||
*/
|
*/
|
||||||
public function getAllFiles($dir) {
|
public function getAllFiles($dir) {
|
||||||
$result = array();
|
$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) {
|
foreach ($content as $c) {
|
||||||
if ($c['type'] === "dir" ) {
|
if ($c['type'] === "dir" ) {
|
||||||
|
|
Loading…
Reference in New Issue