more fixed coding style

This commit is contained in:
Petr Skoda 2010-07-25 09:16:36 +00:00
parent 1b08cef715
commit 28f5bf676c
6 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,8 @@
//
//-----------------------------------------------------------
defined('MOODLE_INTERNAL') || die();
/**
* This function executes all the backup procedure about this mod
*/

View File

@ -23,6 +23,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/
defined('MOODLE_INTERNAL') || die();
/**
* Form used to select a file and file format for the import
* @copyright 2009 Sam Hemelryk

View File

@ -24,6 +24,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/
defined('MOODLE_INTERNAL') || die();
/**
* A recursive function to build a html list
*

View File

@ -23,6 +23,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/
defined('MOODLE_INTERNAL') || die();
/* Do not include any libraries here! */
/**

View File

@ -23,6 +23,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/
defined('MOODLE_INTERNAL') || die();
function removedoublecr($filename) {
// This function will adjust a file in roughly Aiken style by replacing extra newlines with <br/> tags
// so that instructors can have newlines wherever they like as long as the overall format is in Aiken

View File

@ -54,6 +54,8 @@
//
//-----------------------------------------------------------
defined('MOODLE_INTERNAL') || die();
//This function executes all the restore procedure about this mod
function lesson_restore_mods($mod,$restore) {
global $CFG, $DB;