MDL-59815 access: Fix definition of risks for user:delete.

This commit is contained in:
Peter Spicer
2017-08-30 11:35:22 +08:00
committed by Adrian Greeve
parent 5e7cb19d97
commit b8dcc85f7c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -500,7 +500,7 @@ $capabilities = array(
'moodle/user:delete' => array(
'riskbitmask' => RISK_PERSONAL, RISK_DATALOSS,
'riskbitmask' => RISK_PERSONAL | RISK_DATALOSS,
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2016120504.09; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2016120504.10; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.