aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/manager.php
diff options
context:
space:
mode:
authorn-aleha <nick_aleha@myway.com>2014-05-19 03:45:46 +0300
committern-aleha <nick_aleha@myway.com>2014-08-03 07:03:08 +0300
commitf34bc924a6f16920c215fe6661dbccab1271a722 (patch)
tree9d4953e8e2f1fabd25a6d0233137f0877de7f96d /phpBB/phpbb/notification/manager.php
parentffcf45abf32fc1343fe1d4edfd15828782ab4832 (diff)
downloadforums-f34bc924a6f16920c215fe6661dbccab1271a722.tar
forums-f34bc924a6f16920c215fe6661dbccab1271a722.tar.gz
forums-f34bc924a6f16920c215fe6661dbccab1271a722.tar.bz2
forums-f34bc924a6f16920c215fe6661dbccab1271a722.tar.xz
forums-f34bc924a6f16920c215fe6661dbccab1271a722.zip
[ticket/12557] Notification fixes
PHPBB3-12557
Diffstat (limited to 'phpBB/phpbb/notification/manager.php')
-rw-r--r--phpBB/phpbb/notification/manager.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/manager.php b/phpBB/phpbb/notification/manager.php
index 74ef980445..5e4bab1530 100644
--- a/phpBB/phpbb/notification/manager.php
+++ b/phpBB/phpbb/notification/manager.php
@@ -68,12 +68,14 @@ class manager
* @param \phpbb\user_loader $user_loader
* @param \phpbb\config\config $config
* @param \phpbb\db\driver\driver_interface $db
+ * @param \phpbb\cache\service $cache
* @param \phpbb\user $user
* @param string $phpbb_root_path
* @param string $php_ext
* @param string $notification_types_table
* @param string $notifications_table
* @param string $user_notifications_table
+ *
* @return \phpbb\notification\manager
*/
public function __construct($notification_types, $notification_methods, ContainerInterface $phpbb_container, \phpbb\user_loader $user_loader, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, $user, $phpbb_root_path, $php_ext, $notification_types_table, $notifications_table, $user_notifications_table)
@@ -832,7 +834,7 @@ class manager
* Delete all notifications older than a certain time
*
* @param int $timestamp Unix timestamp to delete all notifications that were created before
- * @param bool $only_unread True (default) to only prune read notifications
+ * @param bool $only_read True (default) to only prune read notifications
*/
public function prune_notifications($timestamp, $only_read = true)
{