summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-20 15:53:50 +0400
committerAndrew Dolgov <[email protected]>2011-04-20 15:53:50 +0400
commitbf758124d2bec8977af8b735a4f9a949f24c6fcd (patch)
treede9359fa80e74dfd1f6eee730c8cfab41adaad29 /update.php
parent2b020009b1bd1e2c1e527c2adf94fe0fc780849b (diff)
parent9530efa1b506f4a0d64088ae30aec38ff27de331 (diff)
backend: merge with shared-feedbrowser
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");