From: skodak Date: Sat, 16 Aug 2008 19:49:23 +0000 (+0000) Subject: whitespace fix X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=26a9dc726b66b429a161d828b152e72f67b6e2db;p=moodle.git whitespace fix --- diff --git a/mod/assignment/db/upgrade.php b/mod/assignment/db/upgrade.php index c79a6afd95..cce1973c0f 100644 --- a/mod/assignment/db/upgrade.php +++ b/mod/assignment/db/upgrade.php @@ -49,7 +49,7 @@ function xmldb_assignment_upgrade($oldversion) { JOIN {course_modules} cm ON (cm.module = m.id AND cm.instance = a.id) ORDER BY a.course, s.assignment"; - $count = $DB->count_records_sql("SELECT COUNT('x') $sqlfrom"); + $count = $DB->count_records_sql("SELECT COUNT('x') $sqlfrom"); if ($rs = $DB->get_recordset_sql("SELECT s.id, s.userid, s.teacher, s.assignment, a.course, cm.id AS cmid $sqlfrom")) { diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index ecfae647fd..02ffc55490 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -1805,7 +1805,7 @@ class assignment_base { $fs = get_file_storage(); $browser = get_file_browser(); - + if ($files = $fs->get_area_files($this->context->id, 'assignment_submission', $user->id, "timemodified", false)) { $countfiles = count($files)." ".get_string("uploadedfiles", "assignment"); foreach ($files as $file) { @@ -1962,11 +1962,11 @@ class mod_assignment_upload_file_form extends moodleform { /// OTHER STANDARD FUNCTIONS //////////////////////////////////////////////////////// -/** +/** * Code to be executed when a module is installed - */ + */ function assignment_install() { - return true; + return true; } /**