aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/type/post.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2015-10-15 02:39:55 -0700
committerCesar G <prototech91@gmail.com>2015-10-15 02:39:55 -0700
commitaaca64e13e271aa77bb9c67056171aac682f0492 (patch)
tree312f3f8807c3d8a4ed1670a51e92dfd384bf2c5f /phpBB/phpbb/notification/type/post.php
parent9de5668b80897d99e3ccf59f49f4202b479e79f8 (diff)
downloadforums-aaca64e13e271aa77bb9c67056171aac682f0492.tar
forums-aaca64e13e271aa77bb9c67056171aac682f0492.tar.gz
forums-aaca64e13e271aa77bb9c67056171aac682f0492.tar.bz2
forums-aaca64e13e271aa77bb9c67056171aac682f0492.tar.xz
forums-aaca64e13e271aa77bb9c67056171aac682f0492.zip
[ticket/13892] Replace other uses of self with static.
PHPBB3-13892
Diffstat (limited to 'phpBB/phpbb/notification/type/post.php')
-rw-r--r--phpBB/phpbb/notification/type/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php
index e25fdcd808..2969da550d 100644
--- a/phpBB/phpbb/notification/type/post.php
+++ b/phpBB/phpbb/notification/type/post.php
@@ -135,7 +135,7 @@ class post extends \phpbb\notification\type\base
$sql = 'SELECT n.*
FROM ' . $this->notifications_table . ' n, ' . $this->notification_types_table . ' nt
WHERE n.notification_type_id = ' . (int) $this->notification_type_id . '
- AND n.item_parent_id = ' . (int) self::get_item_parent_id($post) . '
+ AND n.item_parent_id = ' . (int) static::get_item_parent_id($post) . '
AND n.notification_read = 0
AND nt.notification_type_id = n.notification_type_id
AND nt.notification_type_enabled = 1';