phpBB

Code Changes

File: phpbb/feed/topics.php

  Unmodified   Added   Modified   Removed
Line 19Line 19
* This will give you the last {$this->num_items} created topics
* including the first post.
*/

* This will give you the last {$this->num_items} created topics
* including the first post.
*/

class topics extends \phpbb\feed\topic_base

class topics extends topic_base

{

{

	function get_sql()




	/**
* {@inheritdoc}
*/
protected function get_sql()

	{
$forum_ids_read = $this->get_readable_forums();
if (empty($forum_ids_read))

	{
$forum_ids_read = $this->get_readable_forums();
if (empty($forum_ids_read))

Line 54Line 57
		{
return false;
}

		{
return false;
}

 

parent::fetch_attachments($post_ids);


$this->sql = array(
'SELECT' => 'f.forum_id, f.forum_name,


$this->sql = array(
'SELECT' => 'f.forum_id, f.forum_name,

Line 77Line 82
		return true;
}


		return true;
}


	function adjust_item(&$item_row, &$row)




	/**
* {@inheritdoc}
*/
public function adjust_item(&$item_row, &$row)

	{
parent::adjust_item($item_row, $row);


	{
parent::adjust_item($item_row, $row);