X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FPayment%2FPropertyBag.php;h=06f96d42fa65fa1a0c276fc3b29b04b53290f853;hb=23c0262443531e6815b74105861be2a3f9ceb219;hp=73179edb78cecf0ee70e4602d73440241e4e2cd4;hpb=a1f339224cb4a9f5dcaccb4f3816bda3fd3d3145;p=civicrm-core.git 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.