]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trail...
authorPetr Skoda <skodak@moodle.org>
Sun, 1 Nov 2009 10:57:00 +0000 (10:57 +0000)
committerPetr Skoda <skodak@moodle.org>
Sun, 1 Nov 2009 10:57:00 +0000 (10:57 +0000)
12 files changed:
admin/auth_config.php
admin/cron.php
admin/delete.php
admin/enrol.php
admin/environment.php
admin/filters.php
admin/handlevirus.php
admin/health.php
admin/lang.php
admin/mailout-debugger.php
admin/oacleanup.php
admin/process_email.php

index 648757b7631e107726bfe325e5fcee0d2ba14462..369365bd25727b74cbf3659682b362ff7c530acc 100644 (file)
@@ -174,4 +174,4 @@ function print_auth_lock_options ($auth, $user_fields, $helptext, $retrieveopts,
     }
 }
 
-?>
+
index fd14064d022e58d42f47bf8f6180df177dec37dd..4f926725e68127ed148b588b5bfc25f2864d9080 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 /// This script looks through all the module directories for cron.php files
 /// and runs them.  These files can contain cleanup functions, email functions
         echo "</xmp>";
     }
 
-?>
+
index 215c766172b1e6658959a88b131911bb0af40b96..36a7afa68b4537dd08a07d23e1a0ff53aec0e53c 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP //$Id$
+<?php
 
 // Deletes the moodledata directory, COMPLETELY!!
 // BE VERY CAREFUL USING THIS!
@@ -83,4 +83,4 @@ function delete_subdirectories($rootdir) {
     closedir($dir);
 }
 
-?>
+
index 4eafca50105fd73036494b42416bd92ac32a136e..889ef777a57eefefbe8f029955afc3e592b59381 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP  // $Id$
+<?php
        // enrol.php - allows admin to edit all enrollment variables
        //             Yes, enrol is correct English spelling.
 
 
     echo $OUTPUT->footer();
 
-?>
+
index ee89bde7c077846d9dc6ebf3d4ff1b9d6b90d87c..d057df449c39bde6180c4cc412046a7492c5cc93 100644 (file)
@@ -1,4 +1,4 @@
-<?php  //$Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
 
 /// Print footer
     echo $OUTPUT->footer();
-?>
+
index 3726674bb033877524584aed05a3336e4e6449c4..6489ee0b21953c8300d00c5106196ce52058bca6 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
index 86b5f292c0d57275f6b2c2ab48579edc5975acaf..5dff5e517b537a7d0cff3d7190197a79f0809e49 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /** This expects the output from a command like
- * clamscan -r --infected --no-summary <files> 2>&1 | php -d error_log=/path/to/log thisfile.php 
+ * clamscan -r --infected --no-summary <files> 2>&1 | php -d error_log=/path/to/log thisfile.php
  * also it's important that the output of clamscan prints the FULL PATH to each infected file, so use absolute paths for area to scan
  * also it should be run as root, or whatever the webserver runs as so that it has the right permissions in the quarantine dir etc.
  * php -d error_log=/path/to/log thisfile.php will override the default error log for php cli, which is stderr, so if you want this script to just print stuff out, use php thisfile.php instead.
@@ -36,7 +36,7 @@ while(!feof($fd)) {
     }
     $action = clam_handle_infected_file($file,$log->userid,true);
     clam_replace_infected_file($file);
-    
+
     $user = $DB->get_record("user", array("id"=>$log->userid));
     $course = $DB->get_record("course", array("id"=>$log->course));
     $subject = get_string('virusfoundsubject','moodle',format_string($site->fullname));
@@ -86,13 +86,13 @@ function notify_admins($user,$subject,$a) {
         $eventdata->fullmessage       = $body;
         $eventdata->fullmessageformat = FORMAT_PLAIN;
         $eventdata->fullmessagehtml   = '';
-        $eventdata->smallmessage      = '';                        
+        $eventdata->smallmessage      = '';                    
         events_trigger('message_send', $eventdata);
     }
 }
 
 function notify_admins_unknown($file,$a) {
-    
+
     global $site;
 
     $admins = get_admins();
index 5a727969006b60ed6471b7e038157de1fbfafe48..8a3b8b32b43cbb20a37ad27b6e9e4419812b8a8b 100644 (file)
@@ -1,4 +1,4 @@
-<?php  // $Id$
+<?php
 
     ob_start(); //for whitespace test
     require_once('../config.php');
@@ -815,4 +815,4 @@ TODO:
 
 */
 
-?>
+
index e29ed1d6b965ee9a3e5665bc17966afdb0a77deb..0d642d3ae4674ff13eb7936b3ce80a9a7e336852 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id$
+<?php
     /**
     * Display the admin/language menu and process strings translation.
     *
@@ -1382,4 +1382,4 @@ function lang_help_save_file($helproot, $file, $content) {
 }
 
 
-?>
+
index 855f3b4753b833381106882a41b25f704e36afbd..ce7c1918bbac30dcdc0be6de6dd6ad829e2054f8 100644 (file)
@@ -74,4 +74,4 @@ function mdie($msg='', $errorcode=1) {
     exit($errorcode);
 }
 
-?>
+
index 8e53ebf8f031a7d15a3a8e548bbc698ade7608a7..30b5aa1c89f4d5ce54f2aead1c98c6b199d047ce 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 if (!isset($CFG)) {
 
@@ -153,4 +153,4 @@ function online_assignment_cleanup($output=false) {
     echo '</center>';
 }
 
-?>
+
index cff7541ddd30a938c689cd110b11b1ad1a801492..c8b63ac9c1d69bc944861241a5db1b877100fb2c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/php -f
-<?php // $Id$
+<?php
 
 //error_reporting(0);
 //ini_set('display_errors',0);
@@ -77,4 +77,4 @@ fclose($fd);
 
 
 
-?>
+