Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move all database access code to IndexRepository #120

Merged
merged 2 commits into from
May 13, 2024

Conversation

haszi
Copy link
Contributor

@haszi haszi commented Apr 26, 2024

Move all database access code to IndexRepository and use the same IndexRepository instance everywhere.

Use the same IndexRepository instance everywhere
@haszi haszi force-pushed the Move-all-database-access-to-IndexRepository branch from 494b3cf to 05f69cb Compare April 26, 2024 14:48
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Girgias Girgias merged commit 71e6292 into php:master May 13, 2024
8 checks passed
Girgias added a commit that referenced this pull request May 13, 2024
Still breaks the EN build on the doc rendering server

Indexing...
E_WARNING /local/src/phd/render.php:79 Undefined variable $config
PHP Fatal error:  Uncaught Error: Call to a member function render_ids() on null in /local/src/phd/render.php:79
Stack trace:
 0 /local/src/phd/render.php(129): phpdotnet\phd\make_reader()
 1 {main}   thrown in /local/src/phd/render.php on line 79

This reverts commit 71e6292.
Comment on lines 76 to +78
function make_reader() {
//Partial Rendering
$idlist = Config::render_ids() + Config::skip_ids();
$idlist = $config->render_ids() + $config->skip_ids();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing $config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants