save media
This commit is contained in:
@@ -65,7 +65,8 @@ class UploadManager extends Model
|
||||
$out["call_backend"] = false; // flag ready to save data entry
|
||||
$data['file_uid'] =$in["uid"];
|
||||
$data['profile'] = $in["profile"];
|
||||
$out['upload_result'] = $this->specififBackendCall(WRENCHBOARD_PICTURE_PROFILE,$data);
|
||||
$data['file_section'] = WRENCHBOARD_PICTURE_PROFILE;
|
||||
$out['upload_result'] = $this->specififBackendCall(WRENCHBOARD_SAVE_MEDIA,$data);
|
||||
/*
|
||||
* public function specififBackendCall($action,$data){
|
||||
$in["action"] = $action;
|
||||
@@ -111,7 +112,8 @@ class UploadManager extends Model
|
||||
$out["call_backend"] = false; // flag ready to save data entry
|
||||
$data['file_uid'] = $in["uid"];
|
||||
$data['profile'] = $in["profile"];
|
||||
$out['upload_result'] = $this->specififBackendCall(WRENCHBOARD_PICTURE_FAMMEMBER, $data);
|
||||
$data['file_section'] = WRENCHBOARD_PICTURE_FAMMEMBER;
|
||||
$out['upload_result'] = $this->specififBackendCall(WRENCHBOARD_SAVE_MEDIA, $data);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user