Minor - removing whitespaces

1.9.x
Julio Montoya 11 years ago
parent 87e7cedbae
commit 2afd97e9bb
  1. 2
      main/cron/import_csv.php
  2. 1
      main/inc/lib/course.lib.php
  3. 1
      main/inc/lib/pear/HTML/QuickForm.php
  4. 7
      main/inc/lib/sessionmanager.lib.php

@ -528,8 +528,6 @@ class ImportCsv
foreach ($data as $row) {
$row = $this->cleanCourseRow($row);
$courseCode = CourseManager::get_course_id_from_original_id($row['extra_'.$this->extraFieldIdNameList['course']], $this->extraFieldIdNameList['course']);
//$courseInfo = api_get_course_info($row['course_code']);
$courseInfo = api_get_course_info($courseCode);
if (empty($courseInfo)) {
// Create

@ -4016,7 +4016,6 @@ class CourseManager {
}
$course_user_table = Database::get_main_table(TABLE_MAIN_COURSE_USER);
$alreadyAddedTeachers = CourseManager::get_teacher_list_from_course_code($course_code);
if ($deleteTeachersNotInList) {

@ -1549,7 +1549,6 @@ class HTML_QuickForm extends HTML_Common
foreach ($this->_rules as $target => $rules) {
$submitValue = $this->getSubmitValue($target);
foreach ($rules as $rule) {
if ((isset($rule['group']) && isset($this->_errors[$rule['group']])) ||
isset($this->_errors[$target])) {

@ -2393,9 +2393,10 @@ class SessionManager
}
/**
* @param $sessionId
* @param $coachList
* @param $deleteCoachesNotInList
* @param int $sessionId
* @param string $courseCode
* @param array $coachList
* @param bool $deleteCoachesNotInList
*/
public static function updateCoaches($sessionId, $courseCode, $coachList, $deleteCoachesNotInList = false)
{

Loading…
Cancel
Save