corrected class name in old FSF code 5.65.0-fsf 5.65.0-fsf-michael-attempt-0
authorAndrew Engelbrecht <andrew@fsf.org>
Thu, 18 Oct 2018 16:49:55 +0000 (12:49 -0400)
committerMichael McMahon <michael@fsf.org>
Thu, 7 Sep 2023 18:14:58 +0000 (14:14 -0400)
https://rt.gnu.org/Ticket/Display.html?id=1330057

CRM/Member/Import/Form/DataSource.php

index 82ba159aa3d978df7bb15736ed7689b3198e819c..6e3500957665f26da0740cc67811c48b27a7df59 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Member_Import_Form_DataSource extends CRM_Import_Form_DataSource {
     //Setting Upload File Size
     $config = CRM_Core_Config::singleton();
 
-    $uploadFileSize = CRM_Core_Config_Defaults::formatUnitSize($config->maxFileSize . 'm', TRUE);
+    $uploadFileSize = CRM_Utils_Number::formatUnitSize($config->maxFileSize . 'm', TRUE);
     $uploadSize = round(($uploadFileSize / (1024 * 1024)), 2);
 
     $this->assign('uploadSize', $uploadSize);