mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 21:45:37 +02:00
Merge branch 'master_MDL-64124' of https://github.com/danmarsden/moodle
This commit is contained in:
commit
98cfe1f923
@ -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';
|
||||
|
5
blocks/lp/upgrade.txt
Normal file
5
blocks/lp/upgrade.txt
Normal 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.
|
@ -24,7 +24,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2018120300;
|
||||
$plugin->version = 2018121900;
|
||||
$plugin->requires = 2018112800;
|
||||
$plugin->component = 'block_lp';
|
||||
$plugin->dependencies = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user