I've just gone through a good chunk of this code. I'm amazed who's online works at all for anyone. Phrases and Templates were not meant to be updated this way through cron IMHO and the whole approach is very inefficient. The number of queries in the cron file is downright wasteful. It would have been much better, especially with buggy code, to create a totally separate table and update the fields there.
|