X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fdatabase.php;h=28ad6743294a12264742e7477afce852a5e82453;hp=6bcb51535ef8774d45d01915e0720458e35e4cd6;hb=39c1aaf705e8e3c274d56ef1fa931a086f729c48;hpb=de1f271c2bdb43725f6671ea6588a44cf33bf091 diff --git a/inc/database.php b/inc/database.php index 6bcb5153..28ad6743 100644 --- a/inc/database.php +++ b/inc/database.php @@ -1,15 +1,10 @@ * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @deprecated @@ -54,6 +49,4 @@ $connectionInstance = DatabaseConnection::createDatabaseConnection(DebugMiddlewa // Is the app variable there and valid? // @TODO Rewrite this -if (is_object($app)) { - $app->setDatabaseInstance($connectionInstance); -} // END - if +if (is_object($app)) $app->setDatabaseInstance($connectionInstance);