From e6c886bf66928d4bd496672f12b79b547747677b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 May 2017 18:10:07 +0300 Subject: wrap rssfuncs into rssutils class --- plugins/auto_assign_labels/init.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/auto_assign_labels') 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); } } -- cgit v1.2.3-54-g00ecf