1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12413] Fix coding style

PHPBB3-12413
This commit is contained in:
Nicofuma
2014-04-29 23:27:43 +02:00
parent 7d8d8394fc
commit 80b4a7f337
4 changed files with 23 additions and 15 deletions

View File

@@ -60,6 +60,7 @@ abstract class attachments_base extends \phpbb\feed\base
}
$this->db->sql_freeresult($result);
}
/**
* {@inheritDoc}
*/

View File

@@ -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()

View File

@@ -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()