summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/sharedpropagator.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/sharedpropagator.php')
-rw-r--r--apps/files_sharing/lib/sharedpropagator.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedpropagator.php b/apps/files_sharing/lib/sharedpropagator.php
index 29735934499..8de90b9552b 100644
--- a/apps/files_sharing/lib/sharedpropagator.php
+++ b/apps/files_sharing/lib/sharedpropagator.php
@@ -36,9 +36,8 @@ class SharedPropagator extends Propagator {
* @return \array[] all propagated entries
*/
public function propagateChange($internalPath, $time, $sizeDifference = 0) {
- $source = $this->storage->getSourcePath($internalPath);
/** @var \OC\Files\Storage\Storage $storage */
- list($storage, $sourceInternalPath) = \OC\Files\Filesystem::resolvePath($source);
+ list($storage, $sourceInternalPath) = $this->storage->resolvePath($internalPath);
return $storage->getPropagator()->propagateChange($sourceInternalPath, $time, $sizeDifference);
}
}