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

Better query for delete settings #38

Closed
ATofighi opened this issue Oct 23, 2014 · 0 comments
Closed

Better query for delete settings #38

ATofighi opened this issue Oct 23, 2014 · 0 comments
Assignees
Milestone

Comments

@ATofighi
Copy link
Owner

Anyways, since you add DB tables you should rely on one instead of the settings.

$db->delete_query('settings', "name LIKE 'tags\_%'"); 

Why not...

$db->delete_query('settings', "gid={$gid}"); 
@ATofighi ATofighi added this to the MyBB-Tags v3 milestone Oct 23, 2014
@ATofighi ATofighi self-assigned this Oct 26, 2014
@ATofighi ATofighi added the fixed label Oct 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant