summaryrefslogtreecommitdiffstats
path: root/ajax
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-11-04 22:27:09 -0500
committerAlessandro Cosentino <cosenal@gmail.com>2012-11-04 22:27:09 -0500
commita4d88f696a9a38a128b323889ce05cb92048f5a9 (patch)
treef8946e2aa75f44ec47a8a14f39d9bb701a48f248 /ajax
parent4e905c5e106706c01e9d758ab5c2dd5c62b0af12 (diff)
[News] substitutes modals with notification in importopml
Diffstat (limited to 'ajax')
-rw-r--r--ajax/importopml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ajax/importopml.php b/ajax/importopml.php
index 3573a1069..478cc1369 100644
--- a/ajax/importopml.php
+++ b/ajax/importopml.php
@@ -61,8 +61,8 @@ function importFeed($feedurl, $folderid) {
$feedid = $feedmapper->save($feed, $folderid);
}
} else {
- OCP\Util::writeLog('news','ajax/importopml.php: Error adding feed: '. $feedurl, OCP\Util::ERROR);
- return false;
+ OCP\Util::writeLog('news','ajax/importopml.php: This feed is already here: '. $feedurl, OCP\Util::WARN);
+ return true;
}
if($feed === null || !$feedid) {