mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 02:12:15 +09:00
Remove unnecessary redirect via javascript
This commit is contained in:
parent
32feb51236
commit
00bbd15c37
2 changed files with 1 additions and 6 deletions
|
|
@ -491,9 +491,7 @@ class memberView extends member
|
|||
{
|
||||
if(Context::get('is_logged'))
|
||||
{
|
||||
Context::set('redirect_url', getNotEncodedUrl('act',''));
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('redirect.html');
|
||||
$this->setRedirectUrl(getNotEncodedUrl('act',''));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
<script>
|
||||
location.href = "{$redirect_url}";
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue