Skip to content

Commit a19a04a

Browse files
nextcloud-commandhamza221
authored andcommitted
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 8ccfb2a commit a19a04a

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

dist/files-init.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-init.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/private/Files/View.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
use OC\User\User;
5656
use OCA\Files_Sharing\SharedMount;
5757
use OCP\Constants;
58+
use OCP\IL10N;
59+
use OCP\L10N\IFactory;
5860
use OCP\Files\Cache\ICacheEntry;
5961
use OCP\Files\ConnectionLostException;
6062
use OCP\Files\EmptyFileNameException;
@@ -73,6 +75,7 @@
7375
use OCP\Lock\LockedException;
7476
use Psr\Log\LoggerInterface;
7577

78+
7679
/**
7780
* Class to provide access to ownCloud filesystem via a "view", and methods for
7881
* working with files within that view (e.g. read, write, delete, etc.). Each
@@ -743,6 +746,12 @@ public function rename($source, $target, array $options = []) {
743746
throw new ForbiddenException("Moving a folder into a child folder is forbidden", false);
744747
}
745748

749+
/** @var IMountManager $mountManager */
750+
$mountManager = \OC::$server->get(IMountManager::class);
751+
752+
$targetParts = explode('/', $absolutePath2);
753+
$targetUser = $targetParts[1] ?? null;
754+
746755
$result = false;
747756
if (
748757
Filesystem::isValidPath($target)

0 commit comments

Comments
 (0)