diff --git a/libraries/classes/Config.php b/libraries/classes/Config.php index 5592609d6c..9b43b680a4 100644 --- a/libraries/classes/Config.php +++ b/libraries/classes/Config.php @@ -792,17 +792,9 @@ class Config /** * Get phpMyAdmin root path - * - * @staticvar string|null $cookie_path */ public function getRootPath(): string { - static $cookiePath = null; - - if ($cookiePath !== null && ! defined('TESTSUITE')) { - return $cookiePath; - } - $url = $this->get('PmaAbsoluteUri'); if (! empty($url)) { diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 9066e30d8d..4fee647d13 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -282,11 +282,9 @@ $value - string string|null - $cookiePath $tempDir[$name]