Index: branches/5.2.x/core/kernel/db/db_connection.php =================================================================== diff -u -N -r14244 -r14428 --- branches/5.2.x/core/kernel/db/db_connection.php (.../db_connection.php) (revision 14244) +++ branches/5.2.x/core/kernel/db/db_connection.php (.../db_connection.php) (revision 14428) @@ -1,6 +1,6 @@ dbType = $dbType; // $this->initMetaFunctions(); if (!$errorHandler) { @@ -148,11 +145,6 @@ } $this->_captureStatistics = defined('DBG_CAPTURE_STATISTICS') && DBG_CAPTURE_STATISTICS && !(defined('ADMIN') && ADMIN); - - if (class_exists('kApplication')) { - // prevents "Fatal Error" on 2nd installation step (when database is empty) - $this->Application =& kApplication::Instance(); - } } /**