mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Include in file list even if upload_target_type is null
This commit is contained in:
parent
42b879d628
commit
c17243e02a
7 changed files with 53 additions and 9 deletions
|
|
@ -833,6 +833,21 @@ class FileController extends File
|
|||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update upload target type
|
||||
*
|
||||
* @param int|array $file_srl
|
||||
* @param string $upload_target_type
|
||||
* @return BaseObject
|
||||
*/
|
||||
public function updateTargetType($file_srl, $upload_target_type)
|
||||
{
|
||||
$args = new stdClass;
|
||||
$args->file_srl = $file_srl;
|
||||
$args->upload_target_type = $upload_target_type;
|
||||
return executeQuery('file.updateFileTargetType', $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an attachement
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue