projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3644cfe
)
Show default calendar first.
author
Jan Schneider
<jan@horde.org>
Thu, 17 Jun 2010 21:27:37 +0000
(23:27 +0200)
committer
Jan Schneider
<jan@horde.org>
Thu, 17 Jun 2010 21:30:18 +0000
(23:30 +0200)
kronolith/lib/Kronolith.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Kronolith.php
b/kronolith/lib/Kronolith.php
index
a8ddb88
..
123a71c
100644
(file)
--- a/
kronolith/lib/Kronolith.php
+++ b/
kronolith/lib/Kronolith.php
@@
-1494,6
+1494,13
@@
class Kronolith
return array();
}
+ $default_share = $GLOBALS['prefs']->getValue('default_share');
+ if (isset($calendars[$default_share])) {
+ $calendar = $calendars[$default_share];
+ unset($calendars[$default_share]);
+ $calendars = array($default_share => $calendar) + $calendars;
+ }
+
return $calendars;
}