mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:23 +01:00
fix last commit by storing db attribute as wakeup order wakes up acl before parent
This commit is contained in:
parent
b80ff955eb
commit
fcf50f1bc0
@ -91,17 +91,7 @@ class Acl
|
|||||||
*/
|
*/
|
||||||
function __sleep()
|
function __sleep()
|
||||||
{
|
{
|
||||||
return array('account_id');
|
return array('account_id','db');
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Magic method called after object get unserialized
|
|
||||||
*
|
|
||||||
* We call __construct to get reference to db again and initialize data emtpy
|
|
||||||
*/
|
|
||||||
function __wakeup()
|
|
||||||
{
|
|
||||||
$this->__construct($this->account_id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
|
Loading…
Reference in New Issue
Block a user