1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-30 16:38:21 +01:00

This is also an unguarded but CSRF-safe cache write.

This commit is contained in:
epriestley 2011-08-16 14:44:13 -07:00
parent 30abed8b05
commit 88eb6410b3

View file

@ -632,6 +632,8 @@ class DifferentialChangesetParser {
try {
$changeset = new DifferentialChangeset();
$conn_w = $changeset->establishConnection('w');
$unguarded = AphrontWriteGuard::beginScopedUnguardedWrites();
queryfx(
$conn_w,
'INSERT INTO %T (id, cache, dateCreated) VALUES (%d, %s, %d)