#19705602 refactoring source, when specify db table column parameter in file module

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8341 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-04-27 08:17:54 +00:00
parent e1ee2ac134
commit 612c4a6fbd
5 changed files with 15 additions and 10 deletions

View file

@ -19,7 +19,8 @@
function deleteModuleFiles($module_srl) {
// Get a full list of attachments
$args->module_srl = $module_srl;
$output = executeQueryArray('file.getModuleFiles',$args);
$columnList = array('file_srl', 'uploaded_filename');
$output = executeQueryArray('file.getModuleFiles',$args, $columnList);
if(!$output) return $output;
$files = $output->data;
// Remove from the DB