From ff39fe38e1d82e0de8873235e1011ea1e5305df3 Mon Sep 17 00:00:00 2001 From: Darko Date: Fri, 27 Feb 2015 10:02:35 +0100 Subject: [PATCH] Add the missing patch. --- lib/DB/patches/0112~tmux.sql | 3 +++ lib/copy_this/www/lib/TmuxOutput.php | 2 +- start.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 lib/DB/patches/0112~tmux.sql diff --git a/lib/DB/patches/0112~tmux.sql b/lib/DB/patches/0112~tmux.sql new file mode 100644 index 000000000..a39a00c99 --- /dev/null +++ b/lib/DB/patches/0112~tmux.sql @@ -0,0 +1,3 @@ +DELETE FROM `tmux` WHERE `setting` = 'max_load'; +DELETE FROM `tmux` WHERE `setting` = 'max_load_releases'; +UPDATE `tmux` set `value` = '112' where `setting` = 'sqlpatch'; \ No newline at end of file diff --git a/lib/copy_this/www/lib/TmuxOutput.php b/lib/copy_this/www/lib/TmuxOutput.php index af27090b9..f5c598e35 100644 --- a/lib/copy_this/www/lib/TmuxOutput.php +++ b/lib/copy_this/www/lib/TmuxOutput.php @@ -117,7 +117,7 @@ class TmuxOutput extends Tmux $buffer = ''; $state = ($this->runVar['settings']['is_running'] == 1) ? 'Running' : 'Disabled'; //$version = $this->_tvers . 'r' . $this->_vers; - $tversion = '0.5r01135'; + $tversion = '0.5r01137'; $buffer .= sprintf($this->tmpMasks[2], "Monitor $state v$tversion @ $this->_tvers [" . $this->_vers ."]: ", diff --git a/start.php b/start.php index cf13819c3..46d906a73 100644 --- a/start.php +++ b/start.php @@ -35,7 +35,7 @@ if (count($nntpkill) === 0) { } // Check database patch version -if ($patch < 111) { +if ($patch < 112) { exit($c->error("\nYour database is not up to date. Please update.\nphp ${DIR}lib/DB/patchDB.php\n")); }