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:
7253673
)
Eliminate unnecessary local variable $userSystem.
author
Andreas Hennings
<andreas@dqxtech.net>
Tue, 11 Feb 2014 15:31:58 +0000
(16:31 +0100)
committer
Andreas Hennings
<andreas@dqxtech.net>
Tue, 11 Feb 2014 15:31:58 +0000
(16:31 +0100)
CRM/Core/Config.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Config.php
b/CRM/Core/Config.php
index ced81529089d6146ecad84c980fea7344cf47290..88cc475cd5d3900f709d0655f81774efac2cc685 100644
(file)
--- a/
CRM/Core/Config.php
+++ b/
CRM/Core/Config.php
@@
-277,7
+277,7
@@
class CRM_Core_Config extends CRM_Core_Config_Variables {
$class = $this->userFrameworkClass;
// redundant with _initVariables
- $
userSystem = $
this->userSystem = new $class();
+ $this->userSystem = new $class();
if ($userFramework == 'Joomla') {
$this->userFrameworkURLVar = 'task';
@@
-308,7
+308,7
@@
class CRM_Core_Config extends CRM_Core_Config_Variables {
$this->cleanURL = 0;
}
- $this->userFrameworkVersion = $userSystem->getVersion();
+ $this->userFrameworkVersion = $
this->
userSystem->getVersion();
if ($userFramework == 'Joomla') {
/** @var object|null $mainframe */