mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-01 18:48:17 +00:00
Make the 'append' option work.
This commit is contained in:
parent
5359e6fb98
commit
f3b1f7fe98
@ -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