aboutsummaryrefslogtreecommitdiff
path: root/app/Services/ImportService.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Services/ImportService.php')
-rw-r--r--app/Services/ImportService.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php
index f33ebed96..278fa4cec 100644
--- a/app/Services/ImportService.php
+++ b/app/Services/ImportService.php
@@ -68,7 +68,7 @@ class FreshRSS_Import_Service {
// verify the user can import its categories/feeds.
$nb_categories = count($categories);
$nb_feeds = count($this->feedDAO->listFeeds());
- $limits = FreshRSS_Context::$system_conf->limits;
+ $limits = FreshRSS_Context::systemConf()->limits;
// Process the OPML outlines to get a list of categories and a list of
// feeds elements indexed by their categories names.
@@ -173,7 +173,7 @@ class FreshRSS_Import_Service {
}
if (isset($feed_elt['frss:cssFullContentFilter'])) {
- $feed->_attributes('path_entries_filter', $feed_elt['frss:cssFullContentFilter']);
+ $feed->_attribute('path_entries_filter', $feed_elt['frss:cssFullContentFilter']);
}
if (isset($feed_elt['frss:filtersActionRead'])) {
@@ -216,7 +216,7 @@ class FreshRSS_Import_Service {
}
if (!empty($xPathSettings)) {
- $feed->_attributes('xpath', $xPathSettings);
+ $feed->_attribute('xpath', $xPathSettings);
}
// Call the extension hook
@@ -263,7 +263,7 @@ class FreshRSS_Import_Service {
$opml_url = checkUrl($category_element['frss:opmlUrl']);
if ($opml_url != '') {
$category->_kind(FreshRSS_Category::KIND_DYNAMIC_OPML);
- $category->_attributes('opml_url', $opml_url);
+ $category->_attribute('opml_url', $opml_url);
}
}