aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/activity
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-09 18:06:21 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-09 18:06:21 +0200
commit8e97752bf76aa3b7fb15d734259a9dcd0d82cc73 (patch)
tree42427a9b2b0f2671480774603808c0bfcfa84112 /lib/public/activity
parent926b3c9b7be2c3f0d71a64a60006d373f689da39 (diff)
downloadnextcloud-server-8e97752bf76aa3b7fb15d734259a9dcd0d82cc73.tar.gz
nextcloud-server-8e97752bf76aa3b7fb15d734259a9dcd0d82cc73.zip
adding OC6 public API for activities
Diffstat (limited to 'lib/public/activity')
-rw-r--r--lib/public/activity/iconsumer.php15
-rw-r--r--lib/public/activity/imanager.php7
2 files changed, 20 insertions, 2 deletions
diff --git a/lib/public/activity/iconsumer.php b/lib/public/activity/iconsumer.php
index 4b82bc01b05..ca9bd5096b3 100644
--- a/lib/public/activity/iconsumer.php
+++ b/lib/public/activity/iconsumer.php
@@ -24,6 +24,19 @@
namespace OCP\Activity;
interface IConsumer {
- function receive($app, $subject, $message, $file, $link);
+ /**
+ * @param $app
+ * @param $subject
+ * @param $subjectParams
+ * @param $message
+ * @param $messageParams
+ * @param $file
+ * @param $link
+ * @param $affectedUser
+ * @param $type
+ * @param $priority
+ * @return mixed
+ */
+ function receive($app, $subject, $subjectParams, $message, $messageParams, $file, $link, $affectedUser, $type, $priority );
}
diff --git a/lib/public/activity/imanager.php b/lib/public/activity/imanager.php
index 9cba2db7e7f..99ac2a1958e 100644
--- a/lib/public/activity/imanager.php
+++ b/lib/public/activity/imanager.php
@@ -28,12 +28,17 @@ interface IManager {
/**
* @param $app
* @param $subject
+ * @param $subjectParams
* @param $message
+ * @param $messageParams
* @param $file
* @param $link
+ * @param $affectedUser
+ * @param $type
+ * @param $priority
* @return mixed
*/
- function publishActivity($app, $subject, $message, $file, $link);
+ function publishActivity($app, $subject, $subjectParams, $message, $messageParams, $file, $link, $affectedUser, $type, $priority);
/**
* In order to improve lazy loading a closure can be registered which will be called in case