summaryrefslogtreecommitdiff
path: root/app/Stats.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2018-01-22 20:36:22 +0000
committerGreg Roach <fisharebest@gmail.com>2018-01-22 20:36:22 +0000
commit6578fe70e3c64299eac180dfd61bfe4ba4c6efdf (patch)
tree8f3109038fa14ed650623b4c47fdbfa43d1d83ce /app/Stats.php
parent56154d99f7f2846795bf114778da61f2ef4ce6eb (diff)
downloadwebtrees-6578fe70e3c64299eac180dfd61bfe4ba4c6efdf.tar.gz
webtrees-6578fe70e3c64299eac180dfd61bfe4ba4c6efdf.tar.bz2
webtrees-6578fe70e3c64299eac180dfd61bfe4ba4c6efdf.zip
Unused variables
Diffstat (limited to 'app/Stats.php')
-rw-r--r--app/Stats.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/Stats.php b/app/Stats.php
index cb49048886..aa4ef425d9 100644
--- a/app/Stats.php
+++ b/app/Stats.php
@@ -116,11 +116,6 @@ class Stats {
* @return string[][]
*/
private function getTags($text) {
- static $funcs;
-
- // Retrive all class methods
- isset($funcs) or $funcs = get_class_methods($this);
-
// Extract all tags from the provided text
preg_match_all('/#([^#]+)(?=#)/', (string) $text, $match);
$tags = $match[1];