From: Jan Schneider Date: Fri, 14 Aug 2009 21:58:38 +0000 (+0200) Subject: Destroy session when CLI script ends. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=449988eca57b0fc80d937b814da8c75f561d739e;p=horde.git Destroy session when CLI script ends. --- diff --git a/framework/Cli/lib/Horde/Cli.php b/framework/Cli/lib/Horde/Cli.php index b1226d9c6..bdd8324bb 100644 --- a/framework/Cli/lib/Horde/Cli.php +++ b/framework/Cli/lib/Horde/Cli.php @@ -181,6 +181,8 @@ class Horde_Cli $this->_blue_start = ''; $this->_red_end = $this->_green_end = $this->_yellow_end = $this->_blue_end = ''; } + + register_shutdown_function('session_destroy'); } /**