MDL-32709 book: Add some missing MOODLE_INTERNALs

This commit is contained in:
Eloy Lafuente (stronk7)
2012-05-20 21:47:38 +02:00
parent 3542c4f4a9
commit 98cef39d28
4 changed files with 8 additions and 0 deletions
@@ -23,6 +23,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
/**
* Structure step to restore one book activity
*/
+2
View File
@@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
$capabilities = array(
'booktool/exportimscp:export' => array(
'captype' => 'read',
+2
View File
@@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
$capabilities = array(
'booktool/importhtml:import' => array(
'riskbitmask' => RISK_XSS,
+2
View File
@@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
$capabilities = array(
'booktool/print:print' => array(
'captype' => 'read',