summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-20 15:21:00 +0400
committerAndrew Dolgov <[email protected]>2011-04-20 15:21:00 +0400
commitae5f7bb11a7698a84c9352436c144286f7c81630 (patch)
treefbf541a0009cd8462d5137b04ffcea0113df37bc /update.php
parentcfc0647184933b042b9929ede09f52e7d3f3318f (diff)
implement fetching and exporting of shared feeds
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/update.php b/update.php
index 9c9c6ae8d..92e2ce6ef 100755
--- a/update.php
+++ b/update.php
@@ -22,6 +22,7 @@
print " -feedbrowser - update feedbrowser\n";
print " -daemon - start single-process update daemon\n";
print " -cleanup-tags - perform tags table maintenance\n";
+ print " -get-feeds - receive popular feeds from linked instances\n";
print " -help - show this help\n";
return;
}
@@ -110,6 +111,10 @@
print "$rc tags deleted.\n";
}
+ if ($op == "-get-feeds") {
+ get_linked_feeds($link);
+ }
+
db_close($link);
unlink(LOCK_DIRECTORY . "/$lock_filename");