Skip to content

Commit

Permalink
Remove superfluous database initialization (#128)
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.

Co-authored-by: haszi <[email protected]>
  • Loading branch information
haszi and haszi authored May 22, 2024
1 parent f1b97d1 commit 6ebe5fc
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 6ebe5fc

Please sign in to comment.