aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notifications/method/base.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-08 11:40:02 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-08 11:40:02 -0500
commit44f07df96fbf933bc20166a516bf0eecee00df4c (patch)
tree5e45343e534b44b8d3ed370984eaf852297f158f /phpBB/includes/notifications/method/base.php
parentb887fcc3d180860e3b7fdcb2a70e2cd8a519bea2 (diff)
downloadforums-44f07df96fbf933bc20166a516bf0eecee00df4c.tar
forums-44f07df96fbf933bc20166a516bf0eecee00df4c.tar.gz
forums-44f07df96fbf933bc20166a516bf0eecee00df4c.tar.bz2
forums-44f07df96fbf933bc20166a516bf0eecee00df4c.tar.xz
forums-44f07df96fbf933bc20166a516bf0eecee00df4c.zip
[ticket/11103] Working on the add/update notifications functions
Some cleanup and additional commenting as well PHPBB3-11103
Diffstat (limited to 'phpBB/includes/notifications/method/base.php')
-rw-r--r--phpBB/includes/notifications/method/base.php18
1 files changed, 3 insertions, 15 deletions
diff --git a/phpBB/includes/notifications/method/base.php b/phpBB/includes/notifications/method/base.php
index a70f37db95..1c223df045 100644
--- a/phpBB/includes/notifications/method/base.php
+++ b/phpBB/includes/notifications/method/base.php
@@ -7,6 +7,8 @@
*
*/
+use Symfony\Component\DependencyInjection\ContainerBuilder;
+
/**
* @ignore
*/
@@ -25,21 +27,7 @@ abstract class phpbb_notifications_method_base implements phpbb_notifications_me
protected $db;
protected $user;
- /**
- * notification_id
- * item_type
- * item_id
- *
- * by_user_id (one who caused the notification)
- * user_id
- * time
- * unread
- *
- * data (special serialized field that each notification type can use to store stuff)
- */
- protected $data = array();
-
- public function __construct(Symfony\Component\DependencyInjection\ContainerBuilder $phpbb_container, $data = array())
+ public function __construct(ContainerBuilder $phpbb_container, $data = array())
{
// phpBB Container
$this->phpbb_container = $phpbb_container;