aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-01 21:36:09 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-01 21:36:09 +0200
commit803f2c2517c0874ca5fd3526e8056d3d919712f2 (patch)
tree231d5d6a36c953fea3bc085b8e468301e0c002be /apps/calendar/lib
parent6a060ecd230f5b94b94dd08fc16845303627a1ab (diff)
downloadnextcloud-server-803f2c2517c0874ca5fd3526e8056d3d919712f2.tar.gz
nextcloud-server-803f2c2517c0874ca5fd3526e8056d3d919712f2.zip
some work on calendar import
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r--apps/calendar/lib/import.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/calendar/lib/import.php b/apps/calendar/lib/import.php
index dccb8955af8..92bcc312616 100644
--- a/apps/calendar/lib/import.php
+++ b/apps/calendar/lib/import.php
@@ -267,14 +267,14 @@ class OC_Calendar_Import{
//}
/*
- * private methods for (pre)rendering of X-... Attributes
+ * public methods for (pre)rendering of X-... Attributes
*/
/*
* @brief guesses the calendar color
* @return mixed - string or boolean
*/
- private function guessCalendarColor(){
+ public function guessCalendarColor(){
if(!is_null($this->calobject->__get('X-APPLE-CALENDAR-COLOR'))){
return $this->calobject->__get('X-APPLE-CALENDAR-COLOR');
}
@@ -285,7 +285,7 @@ class OC_Calendar_Import{
* @brief guesses the calendar description
* @return mixed - string or boolean
*/
- private function guessCalendarDescription(){
+ public function guessCalendarDescription(){
if(!is_null($this->calobject->__get('X-WR-CALDESC'))){
return $this->calobject->__get('X-WR-CALDESC');
}
@@ -296,7 +296,7 @@ class OC_Calendar_Import{
* @brief guesses the calendar name
* @return mixed - string or boolean
*/
- private function guessCalendarName(){
+ public function guessCalendarName(){
if(!is_null($this->calobject->__get('X-WR-CALNAME'))){
return $this->calobject->__get('X-WR-CALNAME');
}