summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-05 18:10:07 +0300
committerAndrew Dolgov <[email protected]>2017-05-05 18:10:07 +0300
commite6c886bf66928d4bd496672f12b79b547747677b (patch)
tree7f7ab97379a201799c934ecb69da243045394cb4 /plugins
parent65af3b2cbba06901612cf721359aea792037cc5a (diff)
wrap rssfuncs into rssutils class
Diffstat (limited to 'plugins')
-rw-r--r--plugins/auto_assign_labels/init.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/auto_assign_labels/init.php b/plugins/auto_assign_labels/init.php
index 1209a02ab..911adb6b8 100644
--- a/plugins/auto_assign_labels/init.php
+++ b/plugins/auto_assign_labels/init.php
@@ -40,8 +40,7 @@ class Auto_Assign_Labels extends Plugin {
if ($caption && preg_match("/\b$caption\b/i", "$tags_str " . strip_tags($article["content"]) . " " . $article["title"])) {
- # defined in rssfuncs.php
- if (!labels_contains_caption($article["labels"], $caption)) {
+ if (!RSSUtils::labels_contains_caption($article["labels"], $caption)) {
array_push($article["labels"], $label);
}
}