Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-16 13:56:07 +0300
committerMorris Jobke <hey@morrisjobke.de>2021-05-21 16:00:34 +0300
commit81964200639c585ff523c6303fdb99eb0c7c180c (patch)
treedb98b7db0ac8f8b7ba095db611fa65bf92836d13 /lib/private/Files/View.php
parent7ffee26aa8768736593c77dcb12d17978a6e06b2 (diff)
Drop \OCP\User
Inlines and remaining usages and drops the deprecated public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Files/View.php')
-rw-r--r--lib/private/Files/View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 2223858b7a9..a59f735c102 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -2171,7 +2171,7 @@ class View {
throw new NotFoundException($this->getAbsolutePath($filename) . ' not found');
}
$uid = $info->getOwner()->getUID();
- if ($uid != \OCP\User::getUser()) {
+ if ($uid != \OC_User::getUser()) {
Filesystem::initMountPoints($uid);
$ownerView = new View('/' . $uid . '/files');
try {