From: Tim Otten Date: Fri, 9 Jan 2015 00:26:09 +0000 (-0800) Subject: INFRA-132 - CRM/Admin/Form/Setting/Component.php - Remove unused global X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b13fbd1c88292e498cf6cafbf5890b726669d093;p=civicrm-core.git INFRA-132 - CRM/Admin/Form/Setting/Component.php - Remove unused global --- diff --git a/CRM/Admin/Form/Setting/Component.php b/CRM/Admin/Form/Setting/Component.php index 2182a4b7d3..f68b7fbca3 100644 --- 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());