aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel_calendar.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-10 12:18:37 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-10 12:18:37 +0200
commit274f69526fcfa0858a04a8f745650c6daad22a02 (patch)
treeed0b4713800b22b7a8707daba388f822f9ad4aa3 /Zotlabs/Module/Channel_calendar.php
parentb9b65d7dfbf0d5532c93bd7395b5dbbcb8c1b68f (diff)
downloadvolse-hubzilla-274f69526fcfa0858a04a8f745650c6daad22a02.tar.gz
volse-hubzilla-274f69526fcfa0858a04a8f745650c6daad22a02.tar.bz2
volse-hubzilla-274f69526fcfa0858a04a8f745650c6daad22a02.zip
calendar merge: implement channel calendar import in cdav/calendar
Diffstat (limited to 'Zotlabs/Module/Channel_calendar.php')
-rw-r--r--Zotlabs/Module/Channel_calendar.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/Zotlabs/Module/Channel_calendar.php b/Zotlabs/Module/Channel_calendar.php
index e6c5e6e54..ad748401f 100644
--- a/Zotlabs/Module/Channel_calendar.php
+++ b/Zotlabs/Module/Channel_calendar.php
@@ -17,20 +17,6 @@ class Channel_calendar extends \Zotlabs\Web\Controller {
if(! local_channel())
return;
- if(($_FILES) && array_key_exists('userfile',$_FILES) && intval($_FILES['userfile']['size'])) {
- $src = $_FILES['userfile']['tmp_name'];
- if($src) {
- $result = parse_ical_file($src,local_channel());
- if($result)
- info( t('Calendar entries imported.') . EOL);
- else
- notice( t('No calendar entries found.') . EOL);
- @unlink($src);
- }
- goaway(z_root() . '/channel_calendar');
- }
-
-
$event_id = ((x($_POST,'event_id')) ? intval($_POST['event_id']) : 0);
$event_hash = ((x($_POST,'event_hash')) ? $_POST['event_hash'] : '');