Clear instance singleton on destruct

Allows for unit testing
This commit is contained in:
nathangray 2017-01-11 15:46:12 -07:00
parent 5e13b8dfda
commit f8be81e17f

View File

@ -1255,4 +1255,8 @@ class Accounts
self::$cache = array(); self::$cache = array();
} }
} }
public function __destruct() {
self::$_instance = NULL;
}
} }