|
|
|
|
@ -43,11 +43,11 @@ class Shared_Updater { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// Correct folders of shared file owner |
|
|
|
|
$target = substr($target, 8); |
|
|
|
|
if ($uidOwner !== $uid && $source = \OC_Share_Backend_File::getSource($target)) { |
|
|
|
|
\OC\Files\Filesystem::initMountPoints($source['uid_owner']); |
|
|
|
|
$source = '/'.$source['uid_owner'].'/'.$source['path']; |
|
|
|
|
$mtime = \OC\Files\Filesystem::filemtime($target); |
|
|
|
|
\OC\Files\Cache\Updater::correctFolder($source, $mtime); |
|
|
|
|
\OC\Files\Filesystem::initMountPoints($uidOwner); |
|
|
|
|
$source = '/'.$uidOwner.'/'.$source['path']; |
|
|
|
|
\OC\Files\Cache\Updater::correctFolder($source, $info['mtime']); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|