projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449988e
)
We need to wrap session_destroy() to avoid warnings if no session has been started.
author
Jan Schneider
<jan@horde.org>
Sat, 15 Aug 2009 08:26:05 +0000
(10:26 +0200)
committer
Jan Schneider
<jan@horde.org>
Sat, 15 Aug 2009 08:26:05 +0000
(10:26 +0200)
framework/Cli/lib/Horde/Cli.php
patch
|
blob
|
history
diff --git
a/framework/Cli/lib/Horde/Cli.php
b/framework/Cli/lib/Horde/Cli.php
index
bdd8324
..
0d1c269
100644
(file)
--- a/
framework/Cli/lib/Horde/Cli.php
+++ b/
framework/Cli/lib/Horde/Cli.php
@@
-182,7
+182,7
@@
class Horde_Cli
$this->_red_end = $this->_green_end = $this->_yellow_end = $this->_blue_end = '</span>';
}
- register_shutdown_function(
'session_destroy'
);
+ register_shutdown_function(
array($this, '_shutdown')
);
}
/**