summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-03-24 09:33:00 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-03-24 09:36:44 +0100
commitc0858f42aac8bf15f01bb5ffed2c4c6301f42424 (patch)
tree330e5d41c7d6f5f9c61555da7c524f703dfca10a /lib/public
parentdad98542a5a5b8df5b63074f0edea69008169f60 (diff)
downloadnextcloud-server-c0858f42aac8bf15f01bb5ffed2c4c6301f42424.tar.gz
nextcloud-server-c0858f42aac8bf15f01bb5ffed2c4c6301f42424.zip
Allow the activity app to set the current user when sending emails
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/activity/imanager.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/activity/imanager.php b/lib/public/activity/imanager.php
index 0b97f8a07ed..cbd08722410 100644
--- a/lib/public/activity/imanager.php
+++ b/lib/public/activity/imanager.php
@@ -204,6 +204,16 @@ interface IManager {
*/
public function getQueryForFilter($filter);
+
+ /**
+ * Set the user we need to use
+ *
+ * @param string|null $currentUserId
+ * @throws \UnexpectedValueException If the user is invalid
+ * @since 9.0.1
+ */
+ public function setCurrentUserId($currentUserId);
+
/**
* Get the user we need to use
*