Remove error_log, remover * character

pull/2487/head
jmontoyaa 8 years ago
parent 6f18a6399b
commit de9dac6ea3
  1. 2
      main/admin/user_import.php
  2. 1
      main/inc/lib/course.lib.php

@ -1,4 +1,4 @@
*<?php
<?php
/* For licensing terms, see /license.txt */
/**
* This tool allows platform admins to add users by uploading a CSV or XML file

@ -2345,7 +2345,6 @@ class CourseManager
// Skills
$table = Database::get_main_table(TABLE_MAIN_SKILL_REL_USER);
$argumentation = Database::escape_string(sprintf(get_lang('SkillFromCourseXDeletedSinceThen'), $course['code']));
error_log($argumentation);
$sql = "UPDATE $table SET course_id = NULL, session_id = NULL, argumentation = '$argumentation' WHERE course_id = $courseId";
Database::query($sql);

Loading…
Cancel
Save