summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-09-07 16:41:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-09-07 16:41:41 +0200
commitf3e6e0121d8a86cf7a5782a2cc06295da221c56c (patch)
tree505470c3606c48545dd788e585f95520c36e74c0 /apps
parent004de1425e23649ca011a8d57d09ec2280583b8a (diff)
parent7af7fdd92936139480ef0fbb41fbcba970ba7c32 (diff)
downloadnextcloud-server-f3e6e0121d8a86cf7a5782a2cc06295da221c56c.tar.gz
nextcloud-server-f3e6e0121d8a86cf7a5782a2cc06295da221c56c.zip
Merge pull request #18876 from owncloud/missing-context-on-update-file-target
Use context function call instead of static
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/sharedmount.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/sharedmount.php b/apps/files_sharing/lib/sharedmount.php
index 2771e0415b0..9aa9bbf562b 100644
--- a/apps/files_sharing/lib/sharedmount.php
+++ b/apps/files_sharing/lib/sharedmount.php
@@ -81,7 +81,7 @@ class SharedMount extends MountPoint implements MoveableMount {
);
if ($newMountPoint !== $share['file_target']) {
- self::updateFileTarget($newMountPoint, $share);
+ $this->updateFileTarget($newMountPoint, $share);
$share['file_target'] = $newMountPoint;
$share['unique_name'] = true;
}