Skip to content
Snippets Groups Projects
Commit b9be32ec authored by catch's avatar catch
Browse files

Issue #1187726 by beejeebus: remove dead global $conf declaration.

parent 452ee7ac
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -69,8 +69,6 @@ public function __construct(StorageInterface $storage, EventDispatcher $event_di ...@@ -69,8 +69,6 @@ public function __construct(StorageInterface $storage, EventDispatcher $event_di
* A configuration object with the given $name. * A configuration object with the given $name.
*/ */
public function get($name) { public function get($name) {
global $conf;
if (isset($this->cache[$name])) { if (isset($this->cache[$name])) {
return $this->cache[$name]; return $this->cache[$name];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment