summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-09-01 10:28:11 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-09-08 09:01:01 +0200
commitf0ecfa6e6c49253230fa847ff2ce7082f6c97e68 (patch)
tree84e8254f8f4695fe7415bd2ef3a72493c0169d26 /lib/private
parent0bcae89d141fb8fd35477b5b847360fbf3eb32f1 (diff)
downloadnextcloud-server-f0ecfa6e6c49253230fa847ff2ce7082f6c97e68.tar.gz
nextcloud-server-f0ecfa6e6c49253230fa847ff2ce7082f6c97e68.zip
Add the app id to the markProcessed method
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/notification/manager.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/notification/manager.php b/lib/private/notification/manager.php
index c721f610113..1946c4203d4 100644
--- a/lib/private/notification/manager.php
+++ b/lib/private/notification/manager.php
@@ -155,16 +155,17 @@ class Manager implements IManager {
}
/**
+ * @param string $appId
* @param string $objectType
* @param int $objectId
* @param string $user
* @return null
*/
- public function markProcessed($objectType, $objectId, $user = '') {
+ public function markProcessed($appId, $objectType, $objectId, $user = '') {
$apps = $this->getApps();
foreach ($apps as $app) {
- $app->markProcessed($objectType, $objectId, $user);
+ $app->markProcessed($appId, $objectType, $objectId, $user);
}
}