Fixed broken database class

This commit is contained in:
ByteHamster 2020-03-05 13:24:36 +01:00
parent 6c2244ec20
commit d772e865d0
3 changed files with 4 additions and 12 deletions

View file

@ -29,10 +29,10 @@ namespace Flake\Core;
abstract class Database extends \Flake\Core\FLObject { abstract class Database extends \Flake\Core\FLObject {
private $debugOutput; protected $debugOutput;
private $debug_lastBuiltQuery; protected $debug_lastBuiltQuery;
private $store_lastBuiltQuery; protected $store_lastBuiltQuery;
private $oDb; protected $oDb;
/* common stuff */ /* common stuff */

View file

@ -29,10 +29,6 @@ namespace Flake\Core\Database;
class Mysql extends \Flake\Core\Database { class Mysql extends \Flake\Core\Database {
protected $oDb = false; // current DB link
protected $debugOutput = false;
protected $store_lastBuiltQuery = true;
protected $debug_lastBuiltQuery = "";
protected $sHost = ""; protected $sHost = "";
protected $sDbName = ""; protected $sDbName = "";
protected $sUsername = ""; protected $sUsername = "";

View file

@ -29,10 +29,6 @@ namespace Flake\Core\Database;
class Sqlite extends \Flake\Core\Database { class Sqlite extends \Flake\Core\Database {
protected $oDb = false; // current DB link
protected $debugOutput = false;
protected $store_lastBuiltQuery = true;
protected $debug_lastBuiltQuery = "";
protected $sDbPath = ""; protected $sDbPath = "";
function __construct($sDbPath) { function __construct($sDbPath) {