mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
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