MDL-48510 inbound: use 0 expiration for private files handler
This commit is contained in:
committed by
Dan Poltawski
parent
017de890cb
commit
c93e6c5c17
@@ -4113,5 +4113,15 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2014120102.00);
|
||||
}
|
||||
|
||||
if ($oldversion < 2015010800.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, 2015010800.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2015010800.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2015010800.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user