projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0001b1
)
Remove static var from env function.
author
eileen
<emcnaughton@wikimedia.org>
Wed, 21 Nov 2018 08:21:03 +0000
(21:21 +1300)
committer
eileen
<emcnaughton@wikimedia.org>
Wed, 21 Nov 2018 08:21:03 +0000
(21:21 +1300)
It is causing a test fail and is only saving us from calling a cached function....
CRM/Core/Config.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Config.php
b/CRM/Core/Config.php
index 265532c67d8b07d711c30925656f9a47682acf97..fdfdc06b76e83c19b9c9c1a7caeda82f5a7d9955 100644
(file)
--- a/
CRM/Core/Config.php
+++ b/
CRM/Core/Config.php
@@
-270,7
+270,6
@@
class CRM_Core_Config extends CRM_Core_Config_MagicMerge {
* @return string
*/
public static function environment($env = NULL, $reset = FALSE) {
- static $environment;
if ($env) {
$environment = $env;
}