Merge branch 'master_MDL-64124' of https://github.com/danmarsden/moodle

This commit is contained in:
Sara Arjona 2019-01-28 09:56:47 +01:00
commit 98cfe1f923
4 changed files with 6 additions and 12 deletions

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
),
),
);

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
blocks/lp/upgrade.txt Normal file
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.

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(