From d772e865d041fa73b015b532ce62dea3a8be654b Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Thu, 5 Mar 2020 13:24:36 +0100 Subject: [PATCH] Fixed broken database class --- Core/Frameworks/Flake/Core/Database.php | 8 ++++---- Core/Frameworks/Flake/Core/Database/Mysql.php | 4 ---- Core/Frameworks/Flake/Core/Database/Sqlite.php | 4 ---- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/Core/Frameworks/Flake/Core/Database.php b/Core/Frameworks/Flake/Core/Database.php index 5aeb4f5..2ede625 100644 --- a/Core/Frameworks/Flake/Core/Database.php +++ b/Core/Frameworks/Flake/Core/Database.php @@ -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 */ diff --git a/Core/Frameworks/Flake/Core/Database/Mysql.php b/Core/Frameworks/Flake/Core/Database/Mysql.php index 8c6f641..f80e6c7 100644 --- a/Core/Frameworks/Flake/Core/Database/Mysql.php +++ b/Core/Frameworks/Flake/Core/Database/Mysql.php @@ -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 = ""; diff --git a/Core/Frameworks/Flake/Core/Database/Sqlite.php b/Core/Frameworks/Flake/Core/Database/Sqlite.php index 471dcbb..0d793e1 100644 --- a/Core/Frameworks/Flake/Core/Database/Sqlite.php +++ b/Core/Frameworks/Flake/Core/Database/Sqlite.php @@ -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) {