From 4ff003f177b9dd230e0053d2551edb72f4de8de0 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Wed, 27 Feb 2013 22:28:34 -0500 Subject: [PATCH] Remove file type & size limit on staff control panel (current limits are meant for clients only). --- include/ajax.config.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/ajax.config.php b/include/ajax.config.php index 398b6dccd..2a01e2840 100644 --- a/include/ajax.config.php +++ b/include/ajax.config.php @@ -24,8 +24,6 @@ class ConfigAjaxAPI extends AjaxController { $config=array( 'lock_time' => ($cfg->getLockTime()*3600), - 'file_types' => $cfg->getAllowedFileTypes(), - 'max_file_size' => (int) $cfg->getMaxFileSize(), 'max_file_uploads'=> (int) $cfg->getStaffMaxFileUploads() ); return $this->json_encode($config); -- GitLab