itemSource parameter should be fileSource
This commit is contained in:
parent
812e306e6e
commit
4cb5cb9693
1 changed files with 2 additions and 2 deletions
|
@ -85,9 +85,9 @@ class Shared_Updater {
|
|||
*/
|
||||
static public function shareHook($params) {
|
||||
if ($params['itemType'] === 'file' || $params['itemType'] === 'folder') {
|
||||
$id = \OC\Files\Filesystem::getPath($params['itemSource']);
|
||||
$id = \OC\Files\Filesystem::getPath($params['fileSource']);
|
||||
self::correctFolders($id);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue