aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron/task
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-10-11 13:56:00 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-10-11 13:56:00 +0200
commit9e0fd29820af282262cbe16363b7b9dd9f6a31d8 (patch)
tree33fd014838d03cdc73201476e89a525fe1f0ef5c /phpBB/phpbb/cron/task
parent5d28d22976f7b03e5eb4b2d3a98f1ae560f82da0 (diff)
downloadforums-9e0fd29820af282262cbe16363b7b9dd9f6a31d8.tar
forums-9e0fd29820af282262cbe16363b7b9dd9f6a31d8.tar.gz
forums-9e0fd29820af282262cbe16363b7b9dd9f6a31d8.tar.bz2
forums-9e0fd29820af282262cbe16363b7b9dd9f6a31d8.tar.xz
forums-9e0fd29820af282262cbe16363b7b9dd9f6a31d8.zip
[ticket/11906] Fix namespace issues in prune_notifications
PHPBB3-11906
Diffstat (limited to 'phpBB/phpbb/cron/task')
-rw-r--r--phpBB/phpbb/cron/task/core/prune_notifications.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/phpbb/cron/task/core/prune_notifications.php b/phpBB/phpbb/cron/task/core/prune_notifications.php
index 296c0ae64f..1f75709322 100644
--- a/phpBB/phpbb/cron/task/core/prune_notifications.php
+++ b/phpBB/phpbb/cron/task/core/prune_notifications.php
@@ -7,6 +7,8 @@
*
*/
+namespace phpbb\cron\task\core;
+
/**
* @ignore
*/
@@ -20,7 +22,7 @@ if (!defined('IN_PHPBB'))
*
* @package phpBB3
*/
-class phpbb_cron_task_core_prune_notifications extends phpbb_cron_task_base
+class prune_notifications extends \phpbb\cron\task\base
{
protected $config;
protected $notification_manager;
@@ -28,10 +30,10 @@ class phpbb_cron_task_core_prune_notifications extends phpbb_cron_task_base
/**
* Constructor.
*
- * @param phpbb_config $config The config
- * @param phpbb_notification_manager $notification_manager Notification manager
+ * @param \phpbb\config\config $config The config
+ * @param \phpbb\notification\manager $notification_manager Notification manager
*/
- public function __construct(phpbb_config $config, phpbb_notification_manager $notification_manager)
+ public function __construct(\phpbb\config\config $config, \phpbb\notification\manager $notification_manager)
{
$this->config = $config;
$this->notification_manager = $notification_manager;