MDL-64124 block_ilp: Remove unused capability.
This commit is contained in:
@@ -44,14 +44,4 @@ $capabilities = array(
|
||||
'user' => CAP_ALLOW
|
||||
)
|
||||
),
|
||||
|
||||
// Whether or not a user can see the block.
|
||||
'block/lp:view' => array(
|
||||
'captype' => 'read',
|
||||
'contextlevel' => CONTEXT_SYSTEM,
|
||||
'archetypes' => array(
|
||||
'user' => CAP_ALLOW
|
||||
),
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
@@ -27,7 +27,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$string['competenciestoreview'] = 'Competencies to review';
|
||||
$string['lp:addinstance'] = 'Add a new learning plans block';
|
||||
$string['lp:myaddinstance'] = 'Add a new learning plans block to Dashboard';
|
||||
$string['lp:view'] = 'View learning plans block';
|
||||
$string['myplans'] = 'My plans';
|
||||
$string['noactiveplans'] = 'No active plans at the moment.';
|
||||
$string['planstoreview'] = 'Plans to review';
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
This file describes API changes in the lp block code.
|
||||
|
||||
=== 3.7 ===
|
||||
|
||||
* The 'block/lp:view' capability has been removed. It has never been used in code.
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2018120300;
|
||||
$plugin->version = 2018121900;
|
||||
$plugin->requires = 2018112800;
|
||||
$plugin->component = 'block_lp';
|
||||
$plugin->dependencies = array(
|
||||
|
||||
Reference in New Issue
Block a user