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:
21dfd5f
)
INFRA-132 - CRM/Admin/Form/Setting/Component.php - Remove unused global
author
Tim Otten
<totten@civicrm.org>
Fri, 9 Jan 2015 00:26:09 +0000
(16:26 -0800)
committer
Tim Otten
<totten@civicrm.org>
Fri, 9 Jan 2015 00:26:09 +0000
(16:26 -0800)
CRM/Admin/Form/Setting/Component.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Admin/Form/Setting/Component.php
b/CRM/Admin/Form/Setting/Component.php
index 2182a4b7d3556dad3f4f9fec95e1f6051c3b77e3..f68b7fbca334b5a5e1af7cdacd96fac99392bf50 100644
(file)
--- a/
CRM/Admin/Form/Setting/Component.php
+++ b/
CRM/Admin/Form/Setting/Component.php
@@
-125,8
+125,6
@@
class CRM_Admin_Form_Setting_Component extends CRM_Admin_Form_Setting {
* @param bool $lineMode
*/
public static function loadCaseSampleData($dsn, $fileName, $lineMode = FALSE) {
- global $crmPath;
-
$db = &DB::connect($dsn);
if (PEAR::isError($db)) {
die("Cannot open $dsn: " . $db->getMessage());