diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-11-15 19:48:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-11-15 19:48:06 +0000 |
commit | 2bbb88914c0227194b258fd55582b332e190d059 (patch) | |
tree | 60d5c24230ee4fd83155db6384306b1e11e447c2 | |
parent | 392041edf6ed46db6ce8c2f32645a54de89e1353 (diff) | |
download | brdo-2bbb88914c0227194b258fd55582b332e190d059.tar.gz brdo-2bbb88914c0227194b258fd55582b332e190d059.tar.bz2 |
- Patch #93945 by chx, jhm, et al: remove some session handler cruft from the mysqli database backend.
-rw-r--r-- | includes/database.mysqli.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/includes/database.mysqli.inc b/includes/database.mysqli.inc index 7e9ba9dcb..82a2c3a47 100644 --- a/includes/database.mysqli.inc +++ b/includes/database.mysqli.inc @@ -115,16 +115,6 @@ function db_connect($url) { /* Force UTF-8 */ mysqli_query($connection, 'SET NAMES "utf8"'); - /** - * from: http://bugs.php.net/bug.php?id=33772 - * Write and Close handlers are called after destructing objects since PHP - * 5.0.5. Thus destructors can use sessions but session handler can't use - * objects. In prior versions, they were called in the opposite order. It - * is possible to call session_write_close() from the destructor to solve - * this chicken and egg problem. - */ - register_shutdown_function('session_write_close'); - return $connection; } |