From d0c05da8e9d4c752a701815b84b7801860cc354e Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 3 Sep 2015 13:44:02 +0200 Subject: [PATCH] Fix function name --- main/inc/lib/course.lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/inc/lib/course.lib.php b/main/inc/lib/course.lib.php index e6a5222391..6d9940603a 100755 --- a/main/inc/lib/course.lib.php +++ b/main/inc/lib/course.lib.php @@ -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) {