Skip to content

Commit

Permalink
Remove superfluous database initialization
Browse files Browse the repository at this point in the history
Remove superfluous database initialization as database is already initialized during the initialization of Indexing.
  • Loading branch information
haszi committed May 21, 2024
1 parent fc84db4 commit 987d06f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion render.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ function make_reader(Config $config) {
// Indexing
if (requireIndexing(new Config)) {
v("Indexing...", VERBOSE_INDEXING);
Config::indexcache()->init();
// Create indexer
$format = new Index(Config::indexcache());
$render->attach($format);
Expand Down

0 comments on commit 987d06f

Please sign in to comment.