summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-05 12:55:45 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-05 12:55:45 +0200
commit60a34179c904847c8da09acca4b0774c5fc8bd5e (patch)
tree063ca51512b699883870721200c12846ff6055ba /lib
parent02e326f8f9ede0368aa3724f3300dc36c6819c7d (diff)
downloadnextcloud-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')
-rw-r--r--lib/private/Activity/Manager.php25
-rw-r--r--lib/public/Activity/IManager.php16
2 files changed, 0 insertions, 41 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
*
diff --git a/lib/public/Activity/IManager.php b/lib/public/Activity/IManager.php
index 2ccb4c6592f..90959a57099 100644
--- a/lib/public/Activity/IManager.php
+++ b/lib/public/Activity/IManager.php
@@ -71,22 +71,6 @@ interface IManager {
public function publish(IEvent $event);
/**
- * @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
- * @since 6.0.0
- * @deprecated 8.2.0 Grab an IEvent from generateEvent() instead and use the publish() method
- */
- public 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
* activity consumers are actually requested
*