mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
removed some leftover code; use already existing var for path to users file folder
This commit is contained in:
parent
8a46e809f0
commit
1705938848
1 changed files with 2 additions and 2 deletions
|
|
@ -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" ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue