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 {
private $debugOutput;
private $debug_lastBuiltQuery;
private $store_lastBuiltQuery;
private $oDb;
protected $debugOutput;
protected $debug_lastBuiltQuery;
protected $store_lastBuiltQuery;
protected $oDb;
/* common stuff */

View file

@ -29,10 +29,6 @@ namespace 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 $sDbName = "";
protected $sUsername = "";

View file

@ -29,10 +29,6 @@ namespace 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 = "";
function __construct($sDbPath) {