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
Plugins bot
moodle-plugins-snapshots
Commits
afcb0800
Commit
afcb0800
authored
Jan 16, 2017
by
Dan Poltawski
Browse files
Merge branch 'MDL-57613-master' of
https://github.com/xow/moodle
parents
7043676e
ab887f8d
Changes
3
Hide whitespace changes
Inline
Side-by-side
enrol/lti/db/install.xml
View file @
afcb0800
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB
PATH=
"enrol/lti/db"
VERSION=
"201
60809
"
COMMENT=
"XMLDB file for Moodle enrol/lti"
<XMLDB
PATH=
"enrol/lti/db"
VERSION=
"201
70113
"
COMMENT=
"XMLDB file for Moodle enrol/lti"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"../../../lib/xmldb/xmldb.xsd"
>
...
...
@@ -116,7 +116,7 @@
<FIELDS>
<FIELD
NAME=
"id"
TYPE=
"int"
LENGTH=
"11"
NOTNULL=
"true"
SEQUENCE=
"true"
/>
<FIELD
NAME=
"consumerid"
TYPE=
"int"
LENGTH=
"11"
NOTNULL=
"true"
SEQUENCE=
"false"
/>
<FIELD
NAME=
"value"
TYPE=
"char"
LENGTH=
"
32
"
NOTNULL=
"true"
SEQUENCE=
"false"
/>
<FIELD
NAME=
"value"
TYPE=
"char"
LENGTH=
"
64
"
NOTNULL=
"true"
SEQUENCE=
"false"
/>
<FIELD
NAME=
"expires"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
SEQUENCE=
"false"
/>
</FIELDS>
<KEYS>
...
...
enrol/lti/db/upgrade.php
View file @
afcb0800
...
...
@@ -242,6 +242,19 @@ function xmldb_enrol_lti_upgrade($oldversion) {
upgrade_plugin_savepoint
(
true
,
2016052304
,
'enrol'
,
'lti'
);
}
if
(
$oldversion
<
2017011300
)
{
// Changing precision of field value on table enrol_lti_lti2_nonce to (64).
$table
=
new
xmldb_table
(
'enrol_lti_lti2_nonce'
);
$field
=
new
xmldb_field
(
'value'
,
XMLDB_TYPE_CHAR
,
'64'
,
null
,
XMLDB_NOTNULL
,
null
,
null
,
'consumerid'
);
// Launch change of precision for field value.
$dbman
->
change_field_precision
(
$table
,
$field
);
// Lti savepoint reached.
upgrade_plugin_savepoint
(
true
,
2017011300
,
'enrol'
,
'lti'
);
}
// Automatically generated Moodle v3.2.0 release upgrade line.
// Put any upgrade step following this.
...
...
enrol/lti/version.php
View file @
afcb0800
...
...
@@ -24,6 +24,6 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
();
$plugin
->
version
=
201
61205
00
;
// The current plugin version (Date: YYYYMMDDXX).
$plugin
->
version
=
201
70113
00
;
// The current plugin version (Date: YYYYMMDDXX).
$plugin
->
requires
=
2016112900
;
// Requires this Moodle version (3.1)
$plugin
->
component
=
'enrol_lti'
;
// Full name of the plugin (used for diagnostics).
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