@@ 52-54 (lines=3) @@ | ||
49 | ||
50 | // Check if inspected userid -> redirect to userprofile and show admin countdown |
|
51 | $inspect = smallworld_isInspected($yourid); |
|
52 | if ('yes' === $inspect['inspect']) { |
|
53 | $helper->redirect('userprofile.php?username=' . $GLOBALS['xoopsUser']->getVar('uname'), 1); |
|
54 | } |
|
55 | ||
56 | if ($profile >= Constants::PROFILE_HAS_BOTH) { |
|
57 | $user = new Smallworld\Profile(); |
@@ 61-63 (lines=3) @@ | ||
58 | ||
59 | // Check if inspected userid -> redirect to userprofile and show admin countdown |
|
60 | $inspect = smallworld_isInspected($id); |
|
61 | if ('yes' === $inspect['inspect']) { |
|
62 | $helper->redirect('userprofile.php?username=' . $GLOBALS['xoopsUser']->uname(), Constants::REDIRECT_DELAY_SHORT); |
|
63 | } |
|
64 | ||
65 | if ($profile >= Constants::PROFILE_HAS_BOTH) { |
|
66 | // Create basic user in db & redirect to editProfile.php |