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
92090fbf
Commit
92090fbf
authored
Jan 19, 2007
by
Nigel McNie
Committed by
Nigel McNie
Jan 19, 2007
Browse files
Potential fix to cronjob madness
parent
3c812519
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
92090fbf
...
...
@@ -672,7 +672,7 @@ function auth_handle_account_expiries() {
// Actual inactive users
if
(
$users
=
get_records_sql_array
(
'SELECT u.id
FROM '
.
$prefix
.
'usr
FROM '
.
$prefix
.
'usr
u
LEFT JOIN '
.
$prefix
.
'institution i ON (u.institution = i.name)
WHERE '
.
db_format_tsfield
(
'lastlogin'
,
false
)
.
' < ? - i.defaultaccountinactiveexpire'
,
array
(
time
())))
{
// Users have become inactive!
...
...
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