summaryrefslogtreecommitdiffstats
path: root/apps/calendar/lib/calendar.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-08-23 22:10:08 +0200
committerJakob Sack <kde@jakobsack.de>2011-08-23 22:10:08 +0200
commitc87cee6b1fcd23b0457cc7335f8fd8bd86612776 (patch)
treea392c1d4fcee93eeefb2e185c9475ca14b4eb78c /apps/calendar/lib/calendar.php
parent778404fb29b0187749cd6654e2c7cdaddb91a7f1 (diff)
downloadnextcloud-server-c87cee6b1fcd23b0457cc7335f8fd8bd86612776.tar.gz
nextcloud-server-c87cee6b1fcd23b0457cc7335f8fd8bd86612776.zip
Add VJOURNAL to objects that are allowed by default
Diffstat (limited to 'apps/calendar/lib/calendar.php')
-rw-r--r--apps/calendar/lib/calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php
index 88fc1cde770..76f6b253b5d 100644
--- a/apps/calendar/lib/calendar.php
+++ b/apps/calendar/lib/calendar.php
@@ -79,7 +79,7 @@ class OC_Calendar_Calendar{
return $result->fetchRow();
}
- public static function addCalendar($userid,$name,$description,$components='VEVENT,VTODO',$timezone=null,$order=0,$color=null){
+ public static function addCalendar($userid,$name,$description,$components='VEVENT,VTODO,VJOURNAL',$timezone=null,$order=0,$color=null){
$all = self::allCalendars($userid);
$uris = array();
foreach($all as $i){