aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/notification/type/quote.php2
-rw-r--r--phpBB/phpbb/textformatter/s9e/utils.php4
-rw-r--r--phpBB/phpbb/textformatter/utils_interface.php4
3 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/notification/type/quote.php b/phpBB/phpbb/notification/type/quote.php
index 1b8efe4c8e..51edfec6f7 100644
--- a/phpBB/phpbb/notification/type/quote.php
+++ b/phpBB/phpbb/notification/type/quote.php
@@ -75,7 +75,7 @@ class quote extends \phpbb\notification\type\post
'ignore_users' => array(),
), $options);
- $usernames = $this->utils->get_quote_authors($post['post_text']);
+ $usernames = $this->utils->get_outermost_quote_authors($post['post_text']);
if (empty($usernames))
{
diff --git a/phpBB/phpbb/textformatter/s9e/utils.php b/phpBB/phpbb/textformatter/s9e/utils.php
index 576ab9481c..e21dedecc4 100644
--- a/phpBB/phpbb/textformatter/s9e/utils.php
+++ b/phpBB/phpbb/textformatter/s9e/utils.php
@@ -35,12 +35,12 @@ class utils implements \phpbb\textformatter\utils_interface
}
/**
- * Get a list of quote authors, limited to the first level of quotes
+ * Get a list of quote authors, limited to the outermost quotes
*
* @param string $xml Parsed text
* @return string[] List of authors
*/
- public function get_quote_authors($xml)
+ public function get_outermost_quote_authors($xml)
{
$authors = array();
if (strpos($xml, '<QUOTE ') === false)
diff --git a/phpBB/phpbb/textformatter/utils_interface.php b/phpBB/phpbb/textformatter/utils_interface.php
index 183c426161..6d3fd13021 100644
--- a/phpBB/phpbb/textformatter/utils_interface.php
+++ b/phpBB/phpbb/textformatter/utils_interface.php
@@ -29,12 +29,12 @@ interface utils_interface
public function clean_formatting($text);
/**
- * Get a list of quote authors, limited to the first level of quotes
+ * Get a list of quote authors, limited to the outermost quotes
*
* @param string $text Parsed text
* @return string[] List of authors
*/
- public function get_quote_authors($text);
+ public function get_outermost_quote_authors($text);
/**
* Remove given BBCode and its content, at given nesting depth