INFRA-132 - CRM/Admin/Form/Setting/Component.php - Remove unused global
authorTim Otten <totten@civicrm.org>
Fri, 9 Jan 2015 00:26:09 +0000 (16:26 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 9 Jan 2015 00:26:09 +0000 (16:26 -0800)
CRM/Admin/Form/Setting/Component.php

index 2182a4b7d3556dad3f4f9fec95e1f6051c3b77e3..f68b7fbca334b5a5e1af7cdacd96fac99392bf50 100644 (file)
@@ -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());