diff --git a/app/Config/Repository.php b/app/Config/Repository.php index 8565025a..530f2203 100644 --- a/app/Config/Repository.php +++ b/app/Config/Repository.php @@ -46,11 +46,10 @@ class Repository * * @param string $name * @param string|null $default - * @param bool $checkEnv * * @return string|null */ - public function get($name, $default = null, $checkEnv = true) + public function get($name, $default = null) { // if we've not loaded the settings, load them now if (!$this->settings) { @@ -62,11 +61,6 @@ class Repository return $this->settings[$name]; } - // fallback to getenv if allowed to - if ($checkEnv && ($this->settings[$name] = env(strtoupper($name)))) { - return $this->settings[$name]; - } - return $default; }