aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-29 19:01:25 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-29 19:01:25 -0700
commit1097cd25830bc11d9aacf24f0e43322d6f397ca3 (patch)
tree5f87647f57cafeed4ef4a6bef3de9a789d98b231 /include
parentb1ceb33ae07d15b6c429e9ec63b52a21ef558d4a (diff)
downloadvolse-hubzilla-1097cd25830bc11d9aacf24f0e43322d6f397ca3.tar.gz
volse-hubzilla-1097cd25830bc11d9aacf24f0e43322d6f397ca3.tar.bz2
volse-hubzilla-1097cd25830bc11d9aacf24f0e43322d6f397ca3.zip
minor cleanup
Diffstat (limited to 'include')
-rw-r--r--include/event.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/event.php b/include/event.php
index b130ef47f..4e36f5090 100644
--- a/include/event.php
+++ b/include/event.php
@@ -395,21 +395,8 @@ require_once('vendor/autoload.php');
date_default_timezone_set($saved_timezone);
-// logger('vobject: ' . print_r($ical,true));
- return true;
-
-// require_once('library/ical.php');
- $ical = new ICal($f);
- if($ical) {
- $events = $ical->events();
- if($events) {
- foreach($events as $ev) {
- logger('event parsed: ' . print_r($ev,true), LOGGER_ALL);
- event_import_ical($ev,$uid);
- }
- }
+ if($ical)
return true;
- }
return false;
}