1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 06:29:15 +00:00

move label stuff to Labels class

fix some unresolved functions
This commit is contained in:
Andrew Dolgov
2017-05-04 15:57:40 +03:00
parent c2f0f24e4c
commit 7c9b5a3fe4
13 changed files with 57 additions and 57 deletions

View File

@@ -1032,7 +1032,7 @@
_debug("assigning labels [other]...", $debug_enabled);
foreach ($article_labels as $label) {
label_add_article($entry_ref_id, $label[1], $owner_uid);
Labels::add_article($entry_ref_id, $label[1], $owner_uid);
}
_debug("assigning labels [filters]...", $debug_enabled);
@@ -1468,7 +1468,7 @@
foreach ($filters as $f) {
if ($f["type"] == "label") {
if (!labels_contains_caption($article_labels, $f["param"])) {
label_add_article($id, $f["param"], $owner_uid);
Labels::add_article($id, $f["param"], $owner_uid);
}
}
}