From ba6178940c4f51e92ae02cc73fa377b86a1426fd Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Thu, 10 Dec 2020 16:53:31 -0500 Subject: [PATCH] no longer used --- Civi/Payment/PropertyBag.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Civi/Payment/PropertyBag.php b/Civi/Payment/PropertyBag.php index 73179edb78..06f96d42fa 100644 --- a/Civi/Payment/PropertyBag.php +++ b/Civi/Payment/PropertyBag.php @@ -2,7 +2,6 @@ namespace Civi\Payment; use InvalidArgumentException; -use Civi; use CRM_Core_Error; use CRM_Core_PseudoConstant; @@ -215,19 +214,6 @@ class PropertyBag implements \ArrayAccess { unset($this->props['default'][$prop]); } - /** - * Save any legacy warnings to log. - * - * Called as a shutdown function. - */ - public static function writeLegacyWarnings() { - if (!empty(static::$legacyWarnings)) { - $message = "Civi\\Payment\\PropertyBag related deprecation warnings:\n" - . implode("\n", array_keys(static::$legacyWarnings)); - Civi::log()->warning($message, ['civi.tag' => 'deprecated']); - } - } - /** * @param string $prop * @param bool $silent if TRUE return NULL instead of throwing an exception. This is because offsetExists should be safe and not throw exceptions. -- 2.25.1