MDL-18229 gradereport_singleview: missing MOODLE_INTERNAL
authorDan Poltawski <dan@moodle.com>
Thu, 16 Oct 2014 12:58:37 +0000 (13:58 +0100)
committerDan Poltawski <dan@moodle.com>
Thu, 16 Oct 2014 12:58:37 +0000 (13:58 +0100)
grade/report/singleview/version.php

index cf792d4..e56813f 100755 (executable)
@@ -22,6 +22,8 @@
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
 
+defined('MOODLE_INTERNAL') || die();
+
 $plugin->component = 'gradereport_singleview'; // Full name of the plugin (used for diagnostics).
 $plugin->version  = 2013081002;
 $plugin->requires = 2010090501;