1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:25:54 +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

@@ -378,10 +378,10 @@ class Import_Export extends Plugin implements IHandler {
if (is_array($label_cache) && $label_cache["no-labels"] != 1) {
foreach ($label_cache as $label) {
label_create($label[1],
Labels::create($label[1],
$label[2], $label[3], $owner_uid);
label_add_article($ref_id, $label[1], $owner_uid);
Labels::add_article($ref_id, $label[1], $owner_uid);
}
}