From 4c1ef7437017c2c9aee53eecb0dc3dea03ab3b97 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 17 Aug 2009 16:43:04 +0200 Subject: [PATCH] Try with public. --- framework/Cli/lib/Horde/Cli.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.11.0