boinc/html
David Anderson 98bfcdb2d3 web: don't accidentally write to read-only DB replica
BOINC lets you maintain a read-only DB replica,
and certain read-only web pages (like top_users.php)
use the replica in preferences to the master.
But it turns out that these pages aren't actually read-only
because of the too-clever forum_preferences logic.
So sometimes it would add forum_preferences records to the replica,
leading to errors it later copies the same item from the master.

Solution: skip the forum preferences logic if we're using the replica.

We could make this more bulletproof by putting in checks
in insert(), update(), delete() etc.
2015-10-19 14:02:55 -07:00
..
bt
inc web: don't accidentally write to read-only DB replica 2015-10-19 14:02:55 -07:00
languages/translations LOCLE: Update generic project localizations for projects 2015-10-10 11:36:56 -07:00
ops Ops: drop count operation from a loop 2015-09-03 09:37:22 +03:00
project.sample web: cache the results of getting user project list from boinc.netsoft-online.com. 2015-08-07 15:22:10 -07:00
queue
user Web: rename recaptcha_get_html() because of a conflict with Drupal 2015-10-14 12:10:06 +02:00
Makefile.am