Skip to content
GitLab
Menu
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
db85a8fe
Commit
db85a8fe
authored
Nov 24, 2014
by
Robert Lyon
Committed by
Gerrit Code Review
Nov 24, 2014
Browse files
Merge "Clean expired passwords causes error when upgrading (bug 1369370)"
parents
685dfca0
8f371b7d
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/db/upgrade.php
View file @
db85a8fe
...
...
@@ -3409,6 +3409,7 @@ function xmldb_core_upgrade($oldversion=0) {
}
if
(
$oldversion
<
2014062000
)
{
$where
=
array
(
'callfunction'
=>
'auth_clean_expired_password_requests'
);
$data
=
array
(
'callfunction'
=>
'auth_clean_expired_password_requests'
,
'minute'
=>
'5'
,
'hour'
=>
'0'
,
...
...
@@ -3416,7 +3417,7 @@ function xmldb_core_upgrade($oldversion=0) {
'month'
=>
'*'
,
'dayofweek'
=>
'*'
,
);
ensure_record_exists
(
'cron'
,
(
object
)
$
data
,
(
object
)
$data
);
ensure_record_exists
(
'cron'
,
(
object
)
$
where
,
(
object
)
$data
);
}
// Add feedbacknotify option to group table
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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