mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Add missing use statements.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'] .
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
require_once 'smarty.php';
|
||||
|
||||
use newznab\db\Settings;
|
||||
use newznab\controllers\Page;
|
||||
|
||||
$page = new Page;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user