phpBB

Code Changes

File: phpbb/feed/overall.php

  Unmodified   Added   Modified   Removed
Line 19Line 19
* This will give you the newest {$this->num_items} posts
* from the whole board.
*/

* This will give you the newest {$this->num_items} posts
* from the whole board.
*/

class overall extends \phpbb\feed\post_base

class overall extends post_base

{

{

	function get_sql()




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

	{
$forum_ids = array_diff($this->get_readable_forums(), $this->get_excluded_forums(), $this->get_passworded_forums());
if (empty($forum_ids))

	{
$forum_ids = array_diff($this->get_readable_forums(), $this->get_excluded_forums(), $this->get_passworded_forums());
if (empty($forum_ids))

Line 51Line 54
		{
return false;
}

		{
return false;
}

 

parent::fetch_attachments(array(), $topic_ids);


// Get the actual data
$this->sql = array(


// Get the actual data
$this->sql = array(

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);