mirror of
https://github.com/friendica/friendica
synced 2025-04-19 08:30:11 +00:00
Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
parent
2ef81108b3
commit
d00ddc01af
61 changed files with 286 additions and 266 deletions
|
@ -61,7 +61,7 @@ abstract class BaseModule extends BaseObject
|
|||
public static function post()
|
||||
{
|
||||
// $a = self::getApp();
|
||||
// $a->redirect('module');
|
||||
// $a->internalRedirect('module');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -139,7 +139,7 @@ abstract class BaseModule extends BaseObject
|
|||
logger('checkFormSecurityToken failed: user ' . $a->user['guid'] . ' - form element ' . $typename);
|
||||
logger('checkFormSecurityToken failed: _REQUEST data: ' . print_r($_REQUEST, true), LOGGER_DATA);
|
||||
notice(self::getFormSecurityStandardErrorMessage());
|
||||
goaway(System::baseUrl() . $err_redirect);
|
||||
$a->internalRedirect($err_redirect);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue