Commit 2b9c85c5 authored by Leigh B Stoller's avatar Leigh B Stoller

Remove obsolete code.

parent b4e0b3fc
......@@ -43,10 +43,6 @@ $optargs = OptionalPageArguments("target_user", PAGEARG_USER,
RedirectSecure();
$this_user = CheckLogin($check_status);
if (!$this_user) {
if (isset($ajax_request)) {
SPITAJAX_ERROR(1, "You are not logged in anymore");
exit();
}
RedirectLoginPage();
exit();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment