Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
2f598280
Commit
2f598280
authored
Sep 07, 2010
by
Richard Mansfield
Browse files
Fix display of suspension time (bug #632134)
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
c08a28c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
2f598280
...
...
@@ -1280,7 +1280,7 @@ function login_submit(Pieform $form, $values) {
// Check if the user's account has been suspended
if
(
$USER
->
suspendedcusr
)
{
$suspendedctime
=
$USER
->
suspendedctime
;
$suspendedctime
=
strftime
(
get_string
(
'strftimedaydate'
),
$USER
->
suspendedctime
)
;
$suspendedreason
=
$USER
->
suspendedreason
;
$USER
->
logout
();
die_info
(
get_string
(
'accountsuspended'
,
'mahara'
,
$suspendedctime
,
$suspendedreason
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment