From: Jan Schneider Date: Mon, 17 Aug 2009 14:43:04 +0000 (+0200) Subject: Try with public. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4c1ef7437017c2c9aee53eecb0dc3dea03ab3b97;p=horde.git Try with public. --- diff --git a/framework/Cli/lib/Horde/Cli.php b/framework/Cli/lib/Horde/Cli.php index 4a9c861c1..875b74cb4 100644 --- a/framework/Cli/lib/Horde/Cli.php +++ b/framework/Cli/lib/Horde/Cli.php @@ -184,7 +184,7 @@ class Horde_Cli // We really want to call this at the end of the script, not in the // destructor. - register_shutdown_function(array($this, '_shutdown')); + register_shutdown_function(array($this, 'shutdown')); } /** @@ -484,7 +484,7 @@ class Horde_Cli /** * Destroys any session on script end. */ - private function _shutdown() + public function shutdown() { @session_destroy(); }