From 1de87319e7c2fe27afa5601eca892d79bd2c9cfe Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Thu, 18 Oct 2018 12:49:55 -0400 Subject: [PATCH] corrected class name in old FSF code https://rt.gnu.org/Ticket/Display.html?id=1330057 --- CRM/Member/Import/Form/DataSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Import/Form/DataSource.php b/CRM/Member/Import/Form/DataSource.php index f6c81c65ae..88f664507b 100644 --- a/CRM/Member/Import/Form/DataSource.php +++ b/CRM/Member/Import/Form/DataSource.php @@ -37,7 +37,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); -- 2.25.1