diff --git a/README.md b/README.md index c6395ac67..39d7af03e 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ I have forked jonnyboys newznab-tmux as he and the dev team have moved to another project (https://github.com/nZEDb/nZEDb). I will try as much as i can to maintain and improve these tmux scripts, where possible and needed, as they are a valuable addendum to newznab+. Support is given on irc.synirc.net #tmux channel. -I started adapting some of more interesting scripts from nZEDb, but they require tempering with newznab database, so use them at your own risk. Any update to nn+ db could render them useless. Scripts require PHP version > 5.3.10 and Python 2.7x or newer. +I started adapting some of more interesting scripts from nZEDb, but they require tempering with newznab database, so use them at your own risk. Any update to nn+ db could render them useless. Scripts require PHP version => 5.5 and Python 2.7x or newer. Now, clone my github. These scripts need to run from this location and this is where I was asked to put them. If you have decided to use an alternate location, you will need to edit the file bin/config.php to point to the file newznab/www/config.php. If you do not, these scripts will not run. diff --git a/lib/DB/patches/0108~regexless.sql b/lib/DB/patches/0108~regexless.sql index 608e575b8..76fb875a0 100644 --- a/lib/DB/patches/0108~regexless.sql +++ b/lib/DB/patches/0108~regexless.sql @@ -82,10 +82,6 @@ CREATE TABLE partrepair ( DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; -CREATE TRIGGER delete_collections BEFORE DELETE ON collections FOR EACH ROW - BEGIN - DELETE FROM binaries WHERE collection_id = OLD.id; - DELETE FROM parts WHERE collection_id = OLD.id; - END; +CREATE TRIGGER delete_collections BEFORE DELETE ON collections FOR EACH ROW BEGIN DELETE FROM binaries WHERE collection_id = OLD.id;DELETE FROM parts WHERE collection_id = OLD.id;END; UPDATE `tmux` SET `value` = '108' WHERE `setting` = 'sqlpatch'; \ No newline at end of file