mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11906] Fix namespace issues in prune_notifications
PHPBB3-11906
This commit is contained in:
parent
5d28d22976
commit
9e0fd29820
1 changed files with 6 additions and 4 deletions
|
@ -7,6 +7,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
namespace phpbb\cron\task\core;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
|
@ -20,7 +22,7 @@ if (!defined('IN_PHPBB'))
|
||||||
*
|
*
|
||||||
* @package phpBB3
|
* @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 $config;
|
||||||
protected $notification_manager;
|
protected $notification_manager;
|
||||||
|
@ -28,10 +30,10 @@ class phpbb_cron_task_core_prune_notifications extends phpbb_cron_task_base
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param phpbb_config $config The config
|
* @param \phpbb\config\config $config The config
|
||||||
* @param phpbb_notification_manager $notification_manager Notification manager
|
* @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->config = $config;
|
||||||
$this->notification_manager = $notification_manager;
|
$this->notification_manager = $notification_manager;
|
||||||
|
|
Loading…
Add table
Reference in a new issue