MDL-64124 block_ilp: Remove unused capability.

This commit is contained in:
Dan Marsden
2019-01-28 10:22:20 +13:00
parent 0e1e1e5586
commit 89ab980681
4 changed files with 6 additions and 12 deletions
-10
View File
@@ -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
),
),
);
-1
View File
@@ -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';
+5
View File
@@ -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.
+1 -1
View File
@@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2018120300;
$plugin->version = 2018121900;
$plugin->requires = 2018112800;
$plugin->component = 'block_lp';
$plugin->dependencies = array(