mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
- Removed global function uploadFile from application/helpers/hlp_common_helper.php
- Added new protected method uploadFile to application/core/FHC_Controller.php - Replaced global function uploadFile with the protected method FHC_Controller->uploadFile
This commit is contained in:
@@ -206,7 +206,7 @@ abstract class Notiz_Controller extends FHCAPI_Controller
|
||||
//Todo(manu) check if filetypes weiter eingeschränkt werden sollen
|
||||
//Todo(manu)check name files: nicht gleiches file 2mal hochladen
|
||||
//Todo define in dms component: readFile, downloadFile
|
||||
$uploadDataResult = uploadFile($k);
|
||||
$uploadDataResult = $this->uploadFile($k);
|
||||
if (isError($uploadDataResult))
|
||||
{
|
||||
$this->db->trans_rollback();
|
||||
@@ -350,7 +350,7 @@ abstract class Notiz_Controller extends FHCAPI_Controller
|
||||
//Todo(manu) check if filetypes weiter eingeschränkt werden sollen
|
||||
//Todo(manu)check name files: nicht gleiches file 2mal hochladen
|
||||
//Todo define in dms component: readFile, downloadFile
|
||||
$uploadDataResult = uploadFile($k);
|
||||
$uploadDataResult = $this->uploadFile($k);
|
||||
if (isError($uploadDataResult))
|
||||
{
|
||||
$this->db->trans_rollback();
|
||||
|
||||
Reference in New Issue
Block a user