Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
kolab
roundcube-plugins
Commits
01988618
Commit
01988618
authored
Jun 30, 2015
by
Daniel Morlock
Browse files
Closes
#4
: Sort calendar list alphabetically
parent
64165054
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/calendar/calendar.php
View file @
01988618
...
...
@@ -405,6 +405,11 @@ class calendar extends rcube_plugin
$this
->
_cal_driver_map
[
$id
]
=
$driver
;
}
}
// Sort calendars alphabetically
uasort
(
$this
->
_cals
,
function
(
$a
,
$b
)
{
return
strcasecmp
(
$a
[
"listname"
],
$b
[
"listname"
]);
});
}
return
$this
->
_cals
;
...
...
Daniel Morlock
@daniel.morlock
mentioned in issue
#4 (closed)
·
Jun 30, 2015
mentioned in issue
#4 (closed)
mentioned in issue #4
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment