From 460ff63a514c10cdfe18a88d736c60aeea4127f0 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 25 Oct 2016 14:47:39 +0200 Subject: [PATCH] Fix typos --- nntmux/Books.php | 2 +- nntmux/Console.php | 2 +- nntmux/MiscSorter.php | 2 +- nntmux/Music.php | 2 +- resources/db/schema/data/10-settings.tsv | 1 + resources/db/schema/mysql-ddl.sql | 10 +++++----- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/nntmux/Books.php b/nntmux/Books.php index e808a7db0..309548346 100755 --- a/nntmux/Books.php +++ b/nntmux/Books.php @@ -83,7 +83,7 @@ class Books $this->pdo = ($options['Settings'] instanceof DB ? $options['Settings'] : new DB()); $this->pubkey = Settings::value('APIs..amazonpubkey'); - $this->privkey = Settings::value('APIs..amazonaprivkey'); + $this->privkey = Settings::value('APIs..amazonprivkey'); $this->asstag = Settings::value('APIs..amazonassociatetag'); $this->bookqty = (Settings::value('..maxbooksprocessed') != '') ? Settings::value('..maxbooksprocessed') : 300; $this->sleeptime = (Settings::value('..amazonsleep') != '') ? Settings::value('..amazonsleep') : 1000; diff --git a/nntmux/Console.php b/nntmux/Console.php index fa4f3bf17..4fbac56d6 100755 --- a/nntmux/Console.php +++ b/nntmux/Console.php @@ -87,7 +87,7 @@ class Console $this->pdo = ($options['Settings'] instanceof DB ? $options['Settings'] : new DB()); $this->pubkey = Settings::value('APIs..amazonpubkey'); - $this->privkey = Settings::value('APIs..amazonaprivkey'); + $this->privkey = Settings::value('APIs..amazonprivkey'); $this->asstag = Settings::value('APIs..amazonassociatetag'); $this->gameqty = (Settings::value('..maxgamesprocessed') != '') ? Settings::value('..maxgamesprocessed') : 150; $this->sleeptime = (Settings::value('..amazonsleep') != '') ? Settings::value('..amazonsleep') : 1000; diff --git a/nntmux/MiscSorter.php b/nntmux/MiscSorter.php index fb036f817..802fd5e1c 100755 --- a/nntmux/MiscSorter.php +++ b/nntmux/MiscSorter.php @@ -56,7 +56,7 @@ class MiscSorter $this->movie = new Movie(['Echo' => $this->echooutput, 'Settings' => $this->pdo]); $this->music = new Music(['Echo' => $this->echooutput, 'Settings' => $this->pdo]); $this->pubkey = Settings::value('APIs..amazonpubkey'); - $this->privkey = Settings::value('APIs..amazonaprivkey'); + $this->privkey = Settings::value('APIs..amazonprivkey'); $this->asstag = Settings::value('APIs..amazonassociatetag'); } diff --git a/nntmux/Music.php b/nntmux/Music.php index 0bcec9f48..652e11570 100755 --- a/nntmux/Music.php +++ b/nntmux/Music.php @@ -78,7 +78,7 @@ class Music $this->pdo = ($options['Settings'] instanceof DB ? $options['Settings'] : new DB()); $this->pubkey = Settings::value('APIs..amazonpubkey'); - $this->privkey = Settings::value('APIs..amazonaprivkey'); + $this->privkey = Settings::value('APIs..amazonprivkey'); $this->asstag = Settings::value('APIs..amazonassociatetag'); $this->musicqty = (Settings::value('..maxmusicprocessed') != '') ? Settings::value('..maxmusicprocessed') : 150; $this->sleeptime = (Settings::value('..amazonsleep') != '') ? Settings::value('..amazonsleep') : 1000; diff --git a/resources/db/schema/data/10-settings.tsv b/resources/db/schema/data/10-settings.tsv index 5a180ae6c..24a91ad17 100755 --- a/resources/db/schema/data/10-settings.tsv +++ b/resources/db/schema/data/10-settings.tsv @@ -177,3 +177,4 @@ tmux running exit 0 Determines if the running tmux monitor script should exit. I max headers iteration 1000000 The maximum number of headers that update binaries is given as the total range. This ensures that a total of no more than this amount is attempted to be downloaded per group. max_headers_iteration userhostexclusion userhostexclusion siteseed siteseed + showrecentforumposts showrecentforumposts diff --git a/resources/db/schema/mysql-ddl.sql b/resources/db/schema/mysql-ddl.sql index 886378ef3..5b8f43846 100755 --- a/resources/db/schema/mysql-ddl.sql +++ b/resources/db/schema/mysql-ddl.sql @@ -1086,11 +1086,11 @@ CREATE TABLE users_releases ( DROP TABLE IF EXISTS user_downloads; CREATE TABLE user_downloads ( - id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, - users_id INT(16) NOT NULL, - hosthash VARCHAR(50) NOT NULL, - timestamp DATETIME NOT NULL, - releases_id INT(11) NOT NULL COMMENT 'FK to releases.id' + id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, + users_id INT(16) NOT NULL, + hosthash VARCHAR(50) NOT NULL, + timestamp DATETIME NOT NULL, + releases_id INT(11) NOT NULL COMMENT 'FK to releases.id' PRIMARY KEY (id), KEY userid (users_id), KEY timestamp (timestamp)