diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-05 12:55:45 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-05 12:55:45 +0200 |
commit | 60a34179c904847c8da09acca4b0774c5fc8bd5e (patch) | |
tree | 063ca51512b699883870721200c12846ff6055ba /lib/private/Activity | |
parent | 02e326f8f9ede0368aa3724f3300dc36c6819c7d (diff) | |
download | nextcloud-server-60a34179c904847c8da09acca4b0774c5fc8bd5e.tar.gz nextcloud-server-60a34179c904847c8da09acca4b0774c5fc8bd5e.zip |
Remove deprecated publishActivity function
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Activity')
-rw-r--r-- | lib/private/Activity/Manager.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php index 1b64fa59a91..9e70b6f465a 100644 --- a/lib/private/Activity/Manager.php +++ b/lib/private/Activity/Manager.php @@ -198,31 +198,6 @@ class Manager implements IManager { } /** - * @param string $app The app where this event is associated with - * @param string $subject A short description of the event - * @param array $subjectParams Array with parameters that are filled in the subject - * @param string $message A longer description of the event - * @param array $messageParams Array with parameters that are filled in the message - * @param string $file The file including path where this event is associated with - * @param string $link A link where this event is associated with - * @param string $affectedUser Recipient of the activity - * @param string $type Type of the notification - * @param int $priority Priority of the notification - */ - public function publishActivity($app, $subject, $subjectParams, $message, $messageParams, $file, $link, $affectedUser, $type, $priority) { - $event = $this->generateEvent(); - $event->setApp($app) - ->setType($type) - ->setAffectedUser($affectedUser) - ->setSubject($subject, $subjectParams) - ->setMessage($message, $messageParams) - ->setObject('', 0, $file) - ->setLink($link); - - $this->publish($event); - } - - /** * In order to improve lazy loading a closure can be registered which will be called in case * activity consumers are actually requested * |