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
8dc5889f
Commit
8dc5889f
authored
Jan 16, 2007
by
Nigel McNie
Committed by
Nigel McNie
Jan 16, 2007
Browse files
Hopefully fix up wierd cron mistake
parent
6919fe38
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
8dc5889f
...
...
@@ -645,7 +645,7 @@ function auth_handle_account_expiries() {
// Actual expired users
if
(
$users
=
get_records_sql_array
(
'SELECT u.id
FROM '
.
$prefix
.
'usr
WHERE '
.
db_format_tsfield
(
'expiry'
)
.
' <
'
.
time
()))
{
WHERE '
.
db_format_tsfield
(
'expiry'
,
false
)
.
' <
?'
,
array
(
time
()))
)
{
// Users have expired!
foreach
(
$users
as
$user
)
{
expire_user
(
$user
->
id
);
...
...
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