diff options
author | Andrew Dolgov <[email protected]> | 2018-08-13 16:19:18 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-08-13 16:19:18 +0300 |
commit | e80d78d7f4066932cc2f53de2524bb709edd2b89 (patch) | |
tree | af2f151bc7d04d88d7441b2ef569dadb260dd222 | |
parent | 75e765aa001c1dc3d4dc7686dc626e85b8af5cf1 (diff) |
update.php: remove decrypt-feeds mention in help text
-rwxr-xr-x | update.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/update.php b/update.php index 2abb756ba..8f268cd35 100755 --- a/update.php +++ b/update.php @@ -39,7 +39,6 @@ "debug-feed:", "force-refetch", "force-rehash", - "decrypt-feeds", "help"); foreach (PluginHost::getInstance()->get_commands() as $command => $data) { @@ -92,7 +91,6 @@ print " --debug-feed N - perform debug update of feed N\n"; print " --force-refetch - debug update: force refetch feed data\n"; print " --force-rehash - debug update: force rehash articles\n"; - print " --decrypt-feeds - decrypt feed passwords\n"; print " --help - show this help\n"; print "Plugin options:\n"; @@ -160,7 +158,7 @@ if (isset($options["force-update"])) { _debug("marking all feeds as needing update..."); - $pdo->query( "UPDATE ttrss_feeds SET + $pdo->query( "UPDATE ttrss_feeds SET last_update_started = '1970-01-01', last_updated = '1970-01-01'"); } @@ -356,11 +354,11 @@ $limit = 500; $processed = 0; - $sth = $pdo->prepare("SELECT id, title, content FROM ttrss_entries WHERE + $sth = $pdo->prepare("SELECT id, title, content FROM ttrss_entries WHERE tsvector_combined IS NULL ORDER BY id LIMIT ?"); $sth->execute([$limit]); - $usth = $pdo->prepare("UPDATE ttrss_entries + $usth = $pdo->prepare("UPDATE ttrss_entries SET tsvector_combined = to_tsvector('english', ?) WHERE id = ?"); while (true) { |