mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-21 17:06:22 +00:00
Make the 'append' option work.
This commit is contained in:
parent
3f8fafccb6
commit
9b5554eac8
@ -108,9 +108,10 @@ if ( $can_write_collection && $editor->IsSubmit() ) {
|
||||
$path = $editor->Value('dav_name');
|
||||
$user_no = $editor->Value('user_no');
|
||||
$username = $editor->Value('username');
|
||||
param_to_global('mode');
|
||||
include_once('caldav-PUT-functions.php');
|
||||
controlRequestContainer( $username, $user_no, $path, false, ($publicly_readable == 'on' ? true : false));
|
||||
import_collection( $ics, $user_no, $path, $session->user_no );
|
||||
import_collection( $ics, $user_no, $path, $session->user_no, ($mode == 'append') );
|
||||
$c->messages[] = sprintf(translate('Calendar "%s" was loaded from file.'), $path);
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user