From: Andrew Engelbrecht Date: Thu, 18 Oct 2018 16:49:55 +0000 (-0400) Subject: corrected class name in old FSF code X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=refs%2Fheads%2F5.67.3-fsf;p=civicrm-core.git corrected class name in old FSF code https://rt.gnu.org/Ticket/Display.html?id=1330057 --- diff --git a/CRM/Member/Import/Form/DataSource.php b/CRM/Member/Import/Form/DataSource.php index 82ba159aa3..6e35009576 100644 --- a/CRM/Member/Import/Form/DataSource.php +++ b/CRM/Member/Import/Form/DataSource.php @@ -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);