forked from extern/egroupware
Clear instance singleton on destruct
Allows for unit testing
This commit is contained in:
parent
5e13b8dfda
commit
f8be81e17f
@ -1255,4 +1255,8 @@ class Accounts
|
||||
self::$cache = array();
|
||||
}
|
||||
}
|
||||
|
||||
public function __destruct() {
|
||||
self::$_instance = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user