]> git.wh0rd.org - tt-rss.git/commitdiff
update.php: remove decrypt-feeds mention in help text
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 13 Aug 2018 13:19:18 +0000 (16:19 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 13 Aug 2018 13:19:18 +0000 (16:19 +0300)
update.php

index 2abb756bafe958c9ca4b309f684ce3aed2576988..8f268cd35ac20cbebe0d9ed45980ce3f0670d630 100755 (executable)
@@ -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";
 
        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'");
        }
 
                $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) {