mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-05 19:09:15 +00:00
remove db_connect, db_close; CLI fixes
This commit is contained in:
@@ -4,6 +4,7 @@ class Db_Mysql implements IDb {
|
||||
|
||||
function connect($host, $user, $pass, $db, $port) {
|
||||
$this->link = mysql_connect($host, $user, $pass);
|
||||
|
||||
if ($this->link) {
|
||||
$result = mysql_select_db($db, $this->link);
|
||||
if (!$result) {
|
||||
|
||||
Reference in New Issue
Block a user