Quote:
Originally Posted by trafix
if updates are required ... its just the code
|
I don't understand this, sorry.
What do you mean?
I just wanted to point out that this can be done with just one UPDATE, instead of querying the table for outdated threads to get the threadis and then issue a query for each thread to close it.
Imagine the script is run for the first time and there are 10.000 outdated threads.
This would mean 10.001 queries are being executed ...