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
moodle
moodle
Commits
a73409d3
Commit
a73409d3
authored
Jan 13, 2016
by
Cameron Ball
Browse files
MDL-52210 webservices: Revise upgrade version number.
parent
a0418089
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/db/upgrade.php
View file @
a73409d3
...
...
@@ -4606,17 +4606,6 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint
(
true
,
2015100800.01
);
}
if
(
$oldversion
<
2015123100.01
)
{
// Force uninstall of deleted tool.
if
(
!
file_exists
(
"
$CFG->dirroot
/webservice/amf"
))
{
// Remove capabilities.
capabilities_cleanup
(
'webservice_amf'
);
// Remove all other associated config.
unset_all_config_for_plugin
(
'webservice_amf'
);
}
upgrade_main_savepoint
(
true
,
2015123100.01
);
}
// Moodle v3.0.0 release upgrade line.
// Put any upgrade step following this.
...
...
@@ -4806,5 +4795,17 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint
(
true
,
2016011100.15
);
}
if
(
$oldversion
<
2016011100.16
)
{
// Force uninstall of deleted tool.
if
(
!
file_exists
(
"
$CFG->dirroot
/webservice/amf"
))
{
// Remove capabilities.
capabilities_cleanup
(
'webservice_amf'
);
// Remove all other associated config.
unset_all_config_for_plugin
(
'webservice_amf'
);
}
upgrade_main_savepoint
(
true
,
2016011100.16
);
}
return
true
;
}
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