Use proper variable
`$shares` is not defined. Introduced with c3e7d324c5
and thus also in stable8.2
This commit is contained in:
parent
da5285dc23
commit
048ad25416
|
@ -98,7 +98,7 @@ class Remote {
|
||||||
*/
|
*/
|
||||||
private static function extendShareInfo($share) {
|
private static function extendShareInfo($share) {
|
||||||
$view = new \OC\Files\View('/' . \OC_User::getUser() . '/files/');
|
$view = new \OC\Files\View('/' . \OC_User::getUser() . '/files/');
|
||||||
$info = $view->getFileInfo($shares['mountpoint']);
|
$info = $view->getFileInfo($share['mountpoint']);
|
||||||
|
|
||||||
$share['mimetype'] = $info->getMimetype();
|
$share['mimetype'] = $info->getMimetype();
|
||||||
$share['mtime'] = $info->getMtime();
|
$share['mtime'] = $info->getMtime();
|
||||||
|
|
Loading…
Reference in New Issue