We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 30f660b0 authored by Sarven Capadisli's avatar Sarven Capadisli

Using common_redirect

parent 377f95a2
......@@ -63,9 +63,6 @@ class MobileProfilePlugin extends WAP20Plugin
function onStartShowHTML($action)
// XXX: This should probably graduate to WAP20Plugin
// If they are on the mobile site, serve them MP
......@@ -162,8 +159,7 @@ class MobileProfilePlugin extends WAP20Plugin
common_config('site', 'server'))) {
// FIXME: Redirect to equivalent page on mobile site instead
header("Location: ".$this->_common_path(''));
common_redirect($this->_common_path(''), 302);
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