mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #20594 from owncloud/use-proper-variable
Use proper variable
This commit is contained in:
commit
3cac07bedb
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class Remote {
|
|||
*/
|
||||
private static function extendShareInfo($share) {
|
||||
$view = new \OC\Files\View('/' . \OC_User::getUser() . '/files/');
|
||||
$info = $view->getFileInfo($shares['mountpoint']);
|
||||
$info = $view->getFileInfo($share['mountpoint']);
|
||||
|
||||
$share['mimetype'] = $info->getMimetype();
|
||||
$share['mtime'] = $info->getMtime();
|
||||
|
|
|
|||
Loading…
Reference in a new issue