Add missing use statements.

This commit is contained in:
DariusIII
2015-10-15 12:57:06 +02:00
parent ac80ef9eae
commit ac134f672a
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,5 +1,7 @@
2015-10-15 DariusIII
Fix: Add back the patch
Fix: Add missing use statements.
2015-10-15 DariusIII
Bug: remove tvrage patch
2015-10-15 DariusIII
+1
View File
@@ -178,6 +178,7 @@ class DbUpdate
echo $this->log->header('Processing patch file: ' . $file);
$this->splitSQL($file, ['local' => $local, 'data' => $options['data']]);
$current = (integer)$this->settings->getSetting('sqlpatch');
var_dump($current);
$current++;
$this->pdo->queryExec("UPDATE settings SET value = '$current' WHERE setting = 'sqlpatch';");
$newName = $matches['drive'] . $matches['path'] .
+1
View File
@@ -2,6 +2,7 @@
require_once 'smarty.php';
use newznab\db\Settings;
use newznab\controllers\Page;
$page = new Page;