mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Change site table to settings table, move files around and adjust to new settings table. patchDB needs to be fixed for the final patch is is used for.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use newznab\db\DB;
|
||||
use newznab\db\Settings;
|
||||
|
||||
/**
|
||||
* Class IRCScraper
|
||||
@@ -48,7 +48,7 @@ class IRCScraper extends IRCClient
|
||||
protected $_oldPre;
|
||||
|
||||
/**
|
||||
* @var newznab\db\DB
|
||||
* @var newznab\db\Settings
|
||||
* @access protected
|
||||
*/
|
||||
protected $_pdo;
|
||||
@@ -118,7 +118,7 @@ class IRCScraper extends IRCClient
|
||||
$this->_titleIgnoreRegex = SCRAPE_IRC_TITLE_IGNORE;
|
||||
}
|
||||
|
||||
$this->_pdo = new DB();
|
||||
$this->_pdo = new Settings();
|
||||
$this->_groupList = array();
|
||||
$this->_silent = $silent;
|
||||
$this->_debug = $debug;
|
||||
|
||||
Reference in New Issue
Block a user