// Is the app variable there and valid?
// @TODO Rewrite this
if (is_object($app)) $app->setDatabaseInstance($connectionInstance);
// Is the app variable there and valid?
// @TODO Rewrite this
if (is_object($app)) $app->setDatabaseInstance($connectionInstance);