1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13803] Renamed methods

PHPBB3-13803
This commit is contained in:
JoshyPHP
2015-05-19 09:48:29 +02:00
parent 54b18df084
commit 75eb283f8d
5 changed files with 11 additions and 10 deletions

View File

@@ -62,9 +62,10 @@ abstract class row_based_plugin extends base
/**
* {@inheritdoc}
*/
protected function get_records($min_id, $max_id)
protected function get_records_by_range($min_id, $max_id)
{
$result = $this->db->sql_query($this->get_records_query($min_id, $max_id));
$sql = $this->get_records_by_range_query($min_id, $max_id);
$result = $this->db->sql_query($sql);
$records = $this->db->sql_fetchrowset($result);
$this->db->sql_freeresult($result);
@@ -78,7 +79,7 @@ abstract class row_based_plugin extends base
* @param integer $max_id Upper bound
* @return string SQL query
*/
protected function get_records_query($min_id, $max_id)
protected function get_records_by_range_query($min_id, $max_id)
{
$columns = $this->get_columns();
$fields = array();