Merge pull request #18876 from owncloud/missing-context-on-update-file-target

Use context function call instead of static
This commit is contained in:
Morris Jobke 2015-09-07 16:41:41 +02:00
commit f3e6e0121d

View file

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