summaryrefslogtreecommitdiffstats
path: root/lib/session/internal.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-05-28 01:10:18 +0200
committerRobin Appelman <icewind@owncloud.com>2013-05-28 01:10:18 +0200
commite73c04501ebfe5d7e3f7895b349c941b7483ae6f (patch)
tree5fbc3ac08310c27a87081abd6602fbfd292d3434 /lib/session/internal.php
parent44f9af5a7fb6f0f9846bfb36ff99f9bf8aee5985 (diff)
downloadnextcloud-server-e73c04501ebfe5d7e3f7895b349c941b7483ae6f.tar.gz
nextcloud-server-e73c04501ebfe5d7e3f7895b349c941b7483ae6f.zip
Fix session not working error
Diffstat (limited to 'lib/session/internal.php')
-rw-r--r--lib/session/internal.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/session/internal.php b/lib/session/internal.php
index 713a154ecc1..1f8fda47a9b 100644
--- a/lib/session/internal.php
+++ b/lib/session/internal.php
@@ -17,7 +17,6 @@ namespace OC\Session;
*/
class Internal extends Memory {
public function __construct($name) {
- session_write_close();
session_name($name);
if (@session_start()) {
throw new \Exception('Failed to start session');