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
integration
prechecker
Commits
64a15b04
Commit
64a15b04
authored
Dec 25, 2014
by
Ankit Agarwal
Browse files
MDL-48510 inbound: use 0 expiration for private files handler
parent
8293f6c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/db/upgrade.php
View file @
64a15b04
...
...
@@ -4058,5 +4058,15 @@ function xmldb_main_upgrade($oldversion) {
// Moodle v2.8.0 release upgrade line.
// Put any upgrade step following this.
if
(
$oldversion
<
2014111002.01
)
{
// Make sure the private files handler is not set to expire.
$DB
->
set_field
(
'messageinbound_handlers'
,
'defaultexpiration'
,
0
,
array
(
'classname'
=>
'\core\message\inbound\private_files_handler'
));
// Main savepoint reached.
upgrade_main_savepoint
(
true
,
2014111002.01
);
}
return
true
;
}
version.php
View file @
64a15b04
...
...
@@ -29,7 +29,7 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
();
$version
=
2014111002.0
0
;
// 20141110 = branching date YYYYMMDD - do not modify!
$version
=
2014111002.0
1
;
// 20141110 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
...
...
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