lib/kolab_client_task.php
Aleksander Machniak
machniak at kolabsys.com
Tue Sep 18 14:13:34 CEST 2012
lib/kolab_client_task.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit daba4302794b4ef7331744d92a014f32930888b4
Author: Aleksander Machniak <alec at alec.pl>
Date: Tue Sep 18 14:13:18 2012 +0200
Small code improvement
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 9205b43..519fe3e 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -543,7 +543,7 @@ class kolab_client_task
*/
protected function user_types($used_for = NULL)
{
- if (isset($_SESSION['user_types']) && !empty($_SESSION['user_types']) && !$this->devel_mode) {
+ if (!empty($_SESSION['user_types']) && !$this->devel_mode) {
return $_SESSION['user_types'];
}
More information about the commits
mailing list