*/
class LogoutAction extends Action
{
-
+
/**
* This is read only.
- *
+ *
* @return boolean true
*/
- function isReadOnly()
+ function isReadOnly($args)
{
- return true;
+ return false;
}
/**
* Class handler.
- *
+ *
* @param array $args array of arguments
*
* @return nothing
common_set_user(null);
common_real_login(false); // not logged in
common_forgetme(); // don't log back in!
- common_redirect(common_local_url('public'));
+ common_redirect(common_local_url('public'), 303);
}
}
}