/** * Redirect back to the referrer page. * * If there's no referrer or it's external, Kunena will return to the default page. * Also redirects back to tasks are prevented. * * @param string $default * @param string $anchor */ protected function setRedirectBack($default = null, $anchor = null) { $this->setRedirect(KunenaRoute::getReferrer($default, $anchor)); }