diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-05-19 09:48:29 +0200 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-05-30 17:26:01 +0200 |
commit | 75eb283f8d7a7afcd3945d0d28bd0f58aa4f0cd6 (patch) | |
tree | 26b4e880035bfe0f8258d9339e9cda8ea1e6f608 /phpBB/phpbb/textreparser/row_based_plugin.php | |
parent | 54b18df084b845c058426b38e7ccfeb534d04ce0 (diff) | |
download | forums-75eb283f8d7a7afcd3945d0d28bd0f58aa4f0cd6.tar forums-75eb283f8d7a7afcd3945d0d28bd0f58aa4f0cd6.tar.gz forums-75eb283f8d7a7afcd3945d0d28bd0f58aa4f0cd6.tar.bz2 forums-75eb283f8d7a7afcd3945d0d28bd0f58aa4f0cd6.tar.xz forums-75eb283f8d7a7afcd3945d0d28bd0f58aa4f0cd6.zip |
[ticket/13803] Renamed methods
PHPBB3-13803
Diffstat (limited to 'phpBB/phpbb/textreparser/row_based_plugin.php')
-rw-r--r-- | phpBB/phpbb/textreparser/row_based_plugin.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/phpbb/textreparser/row_based_plugin.php b/phpBB/phpbb/textreparser/row_based_plugin.php index 05a6e19553..d3ca334591 100644 --- a/phpBB/phpbb/textreparser/row_based_plugin.php +++ b/phpBB/phpbb/textreparser/row_based_plugin.php @@ -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(); |