Commit 01988618 authored by Daniel Morlock's avatar Daniel Morlock
Browse files

Closes #4: Sort calendar list alphabetically

parent 64165054
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment