public static tearDown ( ) |
public static function tearDown()
{
self::$allowedActions = array();
self::$allowedModules = array();
self::$user = null;
}
/** * The authentication class persist the previous user. * In practice this situation will almost never occur: * Login with one user, log out and subsequently log in * with another user without a page reload to reinitialize * the application. * If the clients could be insulated from eachother, this * would not be an issue. */ protected function tearDown() { Authentication::tearDown(); }