diff --git a/tools/generic_includes.php b/tools/generic_includes.php index 5eafff7d1e8..d590c1086b2 100644 --- a/tools/generic_includes.php +++ b/tools/generic_includes.php @@ -23,7 +23,7 @@ $client = new NDB_Client(); $client->makeCommandLine(); $client->initialize($configFile); -$DB = Database::singleton(); +$DB = NDB_Factory::singleton()->database(); $config = NDB_Config::singleton(); $lorisInstance = new \LORIS\LorisInstance( $DB,