itemSource parameter should be fileSource

This commit is contained in:
Michael Gapczynski 2013-03-07 10:00:03 -05:00
parent 812e306e6e
commit 4cb5cb9693
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}
}