mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +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()
|
||||
{
|
||||
return array('account_id');
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
return array('account_id','db');
|
||||
}
|
||||
|
||||
/**************************************************************************\
|
||||
|
Loading…
Reference in New Issue
Block a user