MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup

This commit is contained in:
Petr Skoda 2009-11-01 15:39:15 +00:00
parent 49ab5e1950
commit 795b694516
26 changed files with 150 additions and 177 deletions

View file

@ -1,4 +1,4 @@
README $Id$
README
----------
This directory contains my try to create a backup/recover

View file

@ -1,4 +1,4 @@
STATUS $Id$
STATUS
----------
This documment shows the current status of the backup/restore option.

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This script is used to configure and execute the backup proccess.
//Define some globals for all the script
@ -134,4 +134,3 @@
//Print footer
echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This page prints the backup todo list to see everything
//Check login

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This page prints the backup todo list to see everything
//Check login

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This page prints the backup form to select everything
global $DB;

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This file contains all the code needed to execute scheduled backups
require_once($CFG->libdir.'/eventslib.php');
@ -855,5 +855,3 @@ function schedule_backup_course_delete_old_files($preferences,$starttime=0) {
}
return $status;
}
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This file contains all the function needed in the backup utility
//except the mod-related funtions that are into every backuplib.php inside
//every mod directory
@ -3583,5 +3583,3 @@
$preferences->backup_version = $CFG->backup_version;
$preferences->backup_release = $CFG->backup_release;
}
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$
<?php
// This file facilitates the conversion of a Blackboard course export
// into a Moodle course export. It assumes an unzipped directory and makes in-place alterations.
@ -120,4 +120,3 @@ function rename_hexfiles($subdir) {
closedir($handle);
}
}
?>

View file

@ -711,4 +711,3 @@ class cc2moodle {
return $code;
}
}
?>

View file

@ -267,4 +267,3 @@ class entities {
return $text;
}
}
?>

View file

@ -125,4 +125,3 @@ class forum extends entities {
return '';
}
}
?>

View file

@ -56,4 +56,3 @@ class label extends entities {
return str_replace($find_tags, $replace_values, $sheet_mod_label);
}
}
?>

View file

@ -955,4 +955,3 @@ class quiz extends entities {
}
}
?>

View file

@ -101,4 +101,3 @@ class resource extends entities {
return str_replace($find_tags, $replace_values, $sheet_mod_resource);
}
}
?>

View file

@ -139,4 +139,3 @@ function detect_cc_format ($xml_file) {
}
}
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This file contains all the general function needed (file manipulation...)
//not directly part of the backup/restore utility plus some constants
@ -764,5 +764,3 @@
$DB->insert_record('backup_log', $log);
}
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$
<?php
// log.php - old scheduled backups report. Now redirecting
// to the new admin one
@ -9,5 +9,3 @@
require_capability('moodle/site:backup', get_context_instance(CONTEXT_SYSTEM));
redirect("$CFG->wwwroot/$CFG->admin/report/backups/index.php", '', 'admin', 1);
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This script is used to configure and execute the restore proccess.
//Define some globals for all the script
@ -186,5 +186,3 @@
//Print footer
echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This page receive all the restore_form data. Then, if existing course
//has been selected, shows a list of courses to select one.
@ -375,4 +375,3 @@
print_error('error');
}
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This page receives the required info and executes the restore
//with the parameters suplied. Whe finished, delete temporary
//data from backup_tables and temp directory
@ -86,5 +86,3 @@
unset($SESSION->restore);
}
echo $OUTPUT->continue_button("$CFG->wwwroot/course/view.php?id=".$restore->course_id);
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//This page prints the restore form to select everything yo want
//to restore. Form is dinamically buid, depending of "info" object
//that contains the backup contents and depending of every mod
@ -796,4 +796,3 @@ function restore_is_samerole($testroleid, $rolefromxml) {
}
return true;
}
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$
<?php
//This page copies th zip to the temp directory,
//unzip it, check that it is a valid backup file
//inform about its contents and fill all the necesary
@ -44,5 +44,3 @@
if (!$status) {
print_error("pleasereport");
}
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$
<?php
//Functions used in restore
require_once($CFG->libdir.'/gradelib.php');
@ -9436,4 +9436,3 @@ WHERE
fclose($restorelog);
}
}
?>

View file

@ -1,4 +1,4 @@
<?PHP //$Id$
<?PHP
require_once ("../config.php");
require_once ("backup_scheduled.php");
require_once ("lib.php");
@ -38,4 +38,3 @@
echo "End course ". format_string($course->fullname)." FAIL\n\n";
}
}
?>