corrected class name in old FSF code 5.67.3-fsf 5.67.3-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, 30 Nov 2023 20:03:25 +0000 (15:03 -0500)
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);