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

Incorrect query count in admin footer if debug false #2617

Closed
ozh opened this issue Mar 10, 2020 · 1 comment
Closed

Incorrect query count in admin footer if debug false #2617

ozh opened this issue Mar 10, 2020 · 1 comment
Labels
bug

Comments

@ozh
Copy link
Member

@ozh ozh commented Mar 10, 2020

I was sure there was an issue for this but cannot find it, so I'm filing another one. I hope I'm not submitting a duplicate.

The query count in the admin footer is wrong : always shows 0 when YOURLS_DEBUG is false, shows correct count if YOURLS_DEBUG is true

@ozh ozh added the bug label Mar 10, 2020
@ozh ozh closed this in d5b47a5 Mar 14, 2020
@ozh

This comment has been minimized.

Copy link
Member Author

@ozh ozh commented Mar 14, 2020

After consideration, instead of fixing that bug, I changed the logic a bit: showing a query count is in itself a debug information. So, for people who don't need debug information, let's just make things simpler. No debug information.

freuds pushed a commit to Quotatis/YOURLS that referenced this issue Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.