summaryrefslogtreecommitdiffstats
path: root/lib/kolab_api_controller.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-22 13:56:27 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-22 13:56:27 +0200
commitde57d50e590f93179f317bdf2eab586f10ccc7ad (patch)
tree30459e7100e42e7b916cd88b22c4cb1c30127055 /lib/kolab_api_controller.php
parentcbc18cb84fda9b277cf6e7bbbc391ed139bdb4a0 (diff)
downloadwebadmin-de57d50e590f93179f317bdf2eab586f10ccc7ad.tar.gz
Fix PHP warning when calling session_destroy() and there's no session
Diffstat (limited to 'lib/kolab_api_controller.php')
-rw-r--r--lib/kolab_api_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index de1c346..0e45a30 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -398,7 +398,7 @@ class kolab_api_controller
*/
private function quit()
{
- session_destroy();
+ @session_destroy();
return true;
}