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:
authorJoas Schilling <coding@schilljs.com>2019-02-22 15:07:26 +0300
committerJulius Härtl <jus@bitgrid.net>2019-03-01 22:56:59 +0300
commit01b4db62fbc4230cff953a2385d305b149744b86 (patch)
tree788b5edf5acba069bd6996466ab9b1b30a6804d4 /lib/private/Files/View.php
parent55ae7fa2a48ce38e2807a40632f282740c0e8117 (diff)
Add dispatcher events to User and Group objects
Signed-off-by: Joas Schilling <coding@schilljs.com>
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 6066aed411f..f12e4609e08 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -1299,7 +1299,7 @@ class View {
if ($owner instanceof IUser) {
return $owner;
} else {
- return new User($ownerId, null);
+ return new User($ownerId, null, \OC::$server->getEventDispatcher());
}
}