Skip to content

Commit

Permalink
no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Dec 10, 2020
1 parent ef84a7d commit 551eb74
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Civi/Payment/PropertyBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,6 @@ public function offsetUnset ($offset) {
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.
Expand Down

0 comments on commit 551eb74

Please sign in to comment.