aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-04-29 23:27:43 +0200
committerNicofuma <github@nicofuma.fr>2014-05-02 13:25:46 +0200
commit80b4a7f33726280f523ee84f11f11e852ef71db7 (patch)
tree7b87c4c60121c1173e54b71bce9f577c6f502726 /phpBB
parent7d8d8394fc36b1564ea083447329ab9f54a3db01 (diff)
downloadforums-80b4a7f33726280f523ee84f11f11e852ef71db7.tar
forums-80b4a7f33726280f523ee84f11f11e852ef71db7.tar.gz
forums-80b4a7f33726280f523ee84f11f11e852ef71db7.tar.bz2
forums-80b4a7f33726280f523ee84f11f11e852ef71db7.tar.xz
forums-80b4a7f33726280f523ee84f11f11e852ef71db7.zip
[ticket/12413] Fix coding style
PHPBB3-12413
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/feed/attachments_base.php1
-rw-r--r--phpBB/phpbb/feed/forum.php4
-rw-r--r--phpBB/phpbb/feed/topic.php4
3 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/phpbb/feed/attachments_base.php b/phpBB/phpbb/feed/attachments_base.php
index e61d637afa..a9a8175928 100644
--- a/phpBB/phpbb/feed/attachments_base.php
+++ b/phpBB/phpbb/feed/attachments_base.php
@@ -60,6 +60,7 @@ abstract class attachments_base extends \phpbb\feed\base
}
$this->db->sql_freeresult($result);
}
+
/**
* {@inheritDoc}
*/
diff --git a/phpBB/phpbb/feed/forum.php b/phpBB/phpbb/feed/forum.php
index 06e87ec21c..5699a2632c 100644
--- a/phpBB/phpbb/feed/forum.php
+++ b/phpBB/phpbb/feed/forum.php
@@ -37,6 +37,8 @@ class forum extends \phpbb\feed\post_base
function open()
{
+ parent::open();
+
// Check if forum exists
$sql = 'SELECT forum_id, forum_name, forum_password, forum_type, forum_options
FROM ' . FORUMS_TABLE . '
@@ -80,8 +82,6 @@ class forum extends \phpbb\feed\post_base
unset($forum_ids_passworded);
}
-
- $this->fetch_attachments();
}
function get_sql()
diff --git a/phpBB/phpbb/feed/topic.php b/phpBB/phpbb/feed/topic.php
index 3c2b3405f6..627ae1ffeb 100644
--- a/phpBB/phpbb/feed/topic.php
+++ b/phpBB/phpbb/feed/topic.php
@@ -37,6 +37,8 @@ class topic extends \phpbb\feed\post_base
function open()
{
+ parent::open();
+
$sql = 'SELECT f.forum_options, f.forum_password, t.topic_id, t.forum_id, t.topic_visibility, t.topic_title, t.topic_time, t.topic_views, t.topic_posts_approved, t.topic_type
FROM ' . TOPICS_TABLE . ' t
LEFT JOIN ' . FORUMS_TABLE . ' f
@@ -83,8 +85,6 @@ class topic extends \phpbb\feed\post_base
unset($forum_ids_passworded);
}
-
- $this->fetch_attachments();
}
function get_sql()