Fix the export function, so that it uses the current vfs calling convention (ie where all parameters to the vfs methods are passed in an array)

This commit is contained in:
sim 2003-02-13 22:58:09 +00:00
parent 64a95a6819
commit 488d9fc7f1

View File

@ -1204,8 +1204,13 @@
// }
$content = ExecMethod('calendar.boicalendar.export',$GLOBALS['HTTP_POST_VARS']['cal_id']);
$vfs->cd('/', True, array(RELATIVE_USER));
$vfs->write($output_file, array (RELATIVE_USER), $content);
$vfs->cd(array('string' => '/',
'relatives' => array(RELATIVE_USER)
));
$vfs->write(array('string' => $output_file,
'relatives' => array (RELATIVE_USER),
'content' => $content
));
// $vfs->write($output_file, array (RELATIVE_USER_APP), $content);
if($this->debug)
{