mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
Allow daemons to perform writes unconditionally.
This commit is contained in:
parent
0964a9123f
commit
74f3112b1c
1 changed files with 3 additions and 0 deletions
|
@ -28,5 +28,8 @@ abstract class PhabricatorDaemon extends PhutilDaemon {
|
|||
$phabricator = phutil_get_library_root('phabricator');
|
||||
$root = dirname($phabricator);
|
||||
require_once $root.'/scripts/__init_env__.php';
|
||||
|
||||
// Daemons may perform writes.
|
||||
AphrontWriteGuard::allowDangerousUnguardedWrites(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue