Fix systemAgent stuff.
This commit is contained in:
@@ -119,7 +119,13 @@ class PhabricatorConduitAPIController
|
||||
$log->setConnectionID($connection_id);
|
||||
$log->setError((string)$error_code);
|
||||
$log->setDuration(1000000 * ($time_end - $time_start));
|
||||
$log->save();
|
||||
|
||||
// TODO: This is a hack, but the insert is comparatively expensive and
|
||||
// we only really care about having these logs for real CLI clients, if
|
||||
// even that.
|
||||
if (empty($metadata['authToken'])) {
|
||||
$log->save();
|
||||
}
|
||||
|
||||
$result = array(
|
||||
'result' => $result,
|
||||
|
||||
@@ -34,7 +34,7 @@ class PhabricatorUser extends PhabricatorUserDAO {
|
||||
|
||||
protected $conduitCertificate;
|
||||
|
||||
protected $isSystemAgent;
|
||||
protected $isSystemAgent = 0;
|
||||
|
||||
private $preferences = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user