Code

Closes 274 -
[gosa.git] / html / logout.php
index 6fb8bcc611d60db744d9c00a3e2dd4c458471912..b6d4b5531d8ee8e2e51a12d743077de670f73d2c 100644 (file)
@@ -22,7 +22,6 @@
 require_once ("../include/php_setup.inc");
 require_once ("functions.inc");
 header("Content-type: text/html; charset=UTF-8");
-get_dir_list("$BASE_DIR/plugins");
 
 /* try to start session, so we can remove userlocks, 
   if the old session is still available */
@@ -39,7 +38,7 @@ if(isset($_SESSION['ui'])){
   del_user_locks($ui->dn);
   
   /* Write something to log */  
-  gosa_log ("User \"".$ui->username."\" logged out");
+  new log("security","logout","",array(),"User \"".$ui->username."\" logged out") ;
 }
 
 /* If GET request is posted, the logout was forced by pressing the link */