summaryrefslogtreecommitdiffstats
path: root/apps/calendar/import.php
diff options
context:
space:
mode:
authorMichiel@unhosted <michiel@unhosted.org>2011-10-09 17:13:34 +0200
committerMichiel@unhosted <michiel@unhosted.org>2011-10-09 17:13:34 +0200
commit6e62911a4ebeb16203cf88cd9b62da37b519ed62 (patch)
tree404f3c882c2c979c7433ab067bc793ae349fac0f /apps/calendar/import.php
parentf4fb6356cd5d9143f59ad41425d74fb35bbe68fd (diff)
parent203f7a3a870964310060d82bdd61d14eb1613791 (diff)
downloadnextcloud-server-6e62911a4ebeb16203cf88cd9b62da37b519ed62.tar.gz
nextcloud-server-6e62911a4ebeb16203cf88cd9b62da37b519ed62.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud
Diffstat (limited to 'apps/calendar/import.php')
-rw-r--r--apps/calendar/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/import.php b/apps/calendar/import.php
index 46822349448..211791f551b 100644
--- a/apps/calendar/import.php
+++ b/apps/calendar/import.php
@@ -23,7 +23,7 @@ if($_GET["import"] == "existing"){
$filename = "/" . $_GET["file"];
}
}else{
- $id = OC_Calendar_Calendar::addCalendar(OC_User::getUser(), $_POST['calname'], $_POST['description']);
+ $id = OC_Calendar_Calendar::addCalendar(OC_User::getUser(), $_POST['calname']);
OC_Calendar_Calendar::setCalendarActive($id, 1);
$calid = $id;
if($_POST["path"] != ""){