|
|
|
@ -2101,7 +2101,7 @@ class CourseManager |
|
|
|
|
$url_id = api_get_current_access_url_id(); |
|
|
|
|
} |
|
|
|
|
UrlManager::delete_url_rel_course($courseId, $url_id); |
|
|
|
|
$count = UrlManager::getcountUrlRelCourse($courseId); |
|
|
|
|
$count = UrlManager::getCountUrlRelCourse($courseId); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($count == 0) { |
|
|
|
@ -2109,7 +2109,6 @@ class CourseManager |
|
|
|
|
|
|
|
|
|
$course_tables = AddCourse::get_course_tables(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Cleaning c_x tables |
|
|
|
|
if (!empty($courseId)) { |
|
|
|
|
foreach ($course_tables as $table) { |
|
|
|
|