summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-13 16:54:09 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-13 21:13:58 +0200
commit471e735b0c26a4f845e8341a98fdc04067ee4cfa (patch)
tree3680de12e0a29b59d6b25cacd3b117e63c105564
parent7cf7d5c3dd1733fc936bdf51e8ab8af4ffd77836 (diff)
downloadnextcloud-server-471e735b0c26a4f845e8341a98fdc04067ee4cfa.tar.gz
nextcloud-server-471e735b0c26a4f845e8341a98fdc04067ee4cfa.zip
Calendar: Document active parameter in allCalendars
-rw-r--r--apps/calendar/lib/calendar.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php
index 7eeb004d181..321f4c73ba0 100644
--- a/apps/calendar/lib/calendar.php
+++ b/apps/calendar/lib/calendar.php
@@ -44,10 +44,8 @@ class OC_Calendar_Calendar{
/**
* @brief Returns the list of calendars for a specific user.
* @param string $uid User ID
- * @param boolean $active
+ * @param boolean $active Only return calendars with this $active state, default(=null) is don't care
* @return array
- *
- * TODO: what is active for?
*/
public static function allCalendars($uid, $active=null){
$values = array($uid);