Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Repository : Nullate the internal driverInstance before serialization…
Browse files Browse the repository at this point in the history
…. Seems to fix the session corruptions issues.
  • Loading branch information
cdujeu committed Mar 25, 2016
1 parent 3abdcfe commit bbbecdb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/core/classes/class.Repository.php
Expand Up @@ -713,4 +713,10 @@ public function securityScope()
return false;
}

public function __sleep()
{
$this->driverInstance = null;
return array_keys(get_object_vars($this));
}

}

0 comments on commit bbbecdb

Please sign in to comment.