From a7b54f45e8db01825a56e1f7cff7485d2df63a97 Mon Sep 17 00:00:00 2001 From: Rich Lott Date: Tue, 11 Jul 2023 18:13:27 +0100 Subject: [PATCH] Update CRM/Utils/System/Standalone.php Remove unnecessary if/assign to statics. --- CRM/Utils/System/Standalone.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Utils/System/Standalone.php b/CRM/Utils/System/Standalone.php index 0fc6b54550..34d40171d5 100644 --- a/CRM/Utils/System/Standalone.php +++ b/CRM/Utils/System/Standalone.php @@ -107,9 +107,6 @@ class CRM_Utils_System_Standalone extends CRM_Utils_System_Base { * @inheritDoc */ public function appendBreadCrumb($breadcrumbs) { - if (!isset(\Civi::$statics[__CLASS__]['breadcrumb'])) { - \Civi::$statics[__CLASS__]['breadcrumb'] = []; - } \Civi::$statics[__CLASS__]['breadcrumb'][] = $breadcrumbs; } -- 2.25.1