From a57cbf597f252876708b30deef97967d1c208aeb Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Feb 2017 17:23:04 +0100 Subject: [PATCH] Continued: - all compressors now have own distinct namespace, so also the CompressorChannel class needs some fixing - added "import" of Compressor - added "import" of DatabaseConnection - added "import" of DatabaseConnector MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/database.php | 1 + inc/main/classes/class_BaseFrameworkSystem.php | 2 ++ .../classes/compressor/class_Bzip2Compressor.php | 3 ++- .../classes/compressor/class_GzipCompressor.php | 3 ++- .../classes/compressor/class_NullCompressor.php | 3 ++- .../classes/compressor/class_ZlibCompressor.php | 3 ++- .../interfaces/compressor/class_Compressor.php | 2 +- .../compressor/class_CompressorChannel.php | 16 +++++++++++++--- .../database/class_DatabaseConnection.php | 1 + 9 files changed, 26 insertions(+), 8 deletions(-) diff --git a/inc/database.php b/inc/database.php index 6bcb5153..01ab8471 100644 --- a/inc/database.php +++ b/inc/database.php @@ -1,6 +1,7 @@ setCompressor(ObjectFactory::createObjectByName('NullCompressor')); + $compressorInstance->setCompressor(ObjectFactory::createObjectByName('CoreFramework\Compressor\Null\NullCompressor')); } // END - if // Return the compressor instance diff --git a/inc/main/middleware/database/class_DatabaseConnection.php b/inc/main/middleware/database/class_DatabaseConnection.php index 7ef989b5..9c539597 100644 --- a/inc/main/middleware/database/class_DatabaseConnection.php +++ b/inc/main/middleware/database/class_DatabaseConnection.php @@ -3,6 +3,7 @@ namespace CoreFramework\Connection\Database; // Import framework stuff +use CoreFramework\Connector\Database\DatabaseConnector; use CoreFramework\Criteria\Criteria; use CoreFramework\Criteria\Storing\StoreableCriteria; use CoreFramework\Database\Backend\DatabaseBackend; -- 2.39.5