projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04217c4
)
Only destroy session if it exists
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 1 Dec 2010 05:45:35 +0000
(22:45 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 1 Dec 2010 05:45:35 +0000
(22:45 -0700)
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
9efc03a
..
0af8b2c
100644
(file)
--- a/
framework/Cli/lib/Horde/Cli.php
+++ b/
framework/Cli/lib/Horde/Cli.php
@@
-486,7
+486,9
@@
class Horde_Cli
*/
public function shutdown()
{
- @session_destroy();
+ if (session_id()) {
+ session_destroy();
+ }
}
}