Skip to content

Commit

Permalink
fix generic_includes for 24.1 (#8192)
Browse files Browse the repository at this point in the history
tools/generic_includes.php missed the #8074 refactoring boat in 24.1 where all Database::singleton have been replaced by NDB_Factory::singleton()->database()

This fixes the generic_includes.php file to use the new way of loading the DB object for branch 24.1-release.
  • Loading branch information
cmadjar authored Oct 21, 2022
1 parent eb2c009 commit 81e2588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generic_includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 81e2588

Please # to comment.