From 6f12e441c5feeaa30c70cc7610dbf985f97a813f Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Mon, 29 Aug 2022 17:45:02 +0100 Subject: [PATCH] Remove misleading comment. Passing false to authenticateKey means execution doesn't actually abort, and so the 'Failed to authenticate key' error is actually reached. --- CRM/Utils/REST.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Utils/REST.php b/CRM/Utils/REST.php index 0848fdeac3..288c62334e 100644 --- a/CRM/Utils/REST.php +++ b/CRM/Utils/REST.php @@ -590,9 +590,6 @@ class CRM_Utils_REST { } if (!CRM_Utils_System::authenticateKey(FALSE)) { - // FIXME: At time of writing, this doesn't actually do anything because - // authenticateKey abends, but that's a bad behavior which sends a - // malformed response. CRM_Utils_System::loadBootStrap([], FALSE, FALSE); return self::error('Failed to authenticate key'); } -- 2.25.1