diff --git a/app/init.php b/app/init.php index a20598397d..b5ebd4bb9f 100644 --- a/app/init.php +++ b/app/init.php @@ -1210,7 +1210,8 @@ App::setResource('getProjectDB', function (Group $pools, Database $dbForConsole, $database = new Database($dbAdapter, $cache); $databases[$databaseName] = $database; $configure($database); - return $database; + return null; +// return $database; }; }, ['pools', 'dbForConsole', 'cache']);