Rename methods saveNewCourse() and saveNewUser() to addCourse() and addUser() in restApi (missing part) - refs #2149

pull/2487/head
Yannick Warnier 7 years ago
parent 5cb5e6ddd8
commit b9e9ac4728
  1. 4
      main/inc/lib/webservices/Rest.php

@ -1021,7 +1021,7 @@ class Rest extends WebService
* @param array $course_param * @param array $course_param
* @return array * @return array
*/ */
public function saveNewCourse($course_param) public function addCourse($course_param)
{ {
$table_course = Database::get_main_table(TABLE_MAIN_COURSE); $table_course = Database::get_main_table(TABLE_MAIN_COURSE);
$extra_list= array(); $extra_list= array();
@ -1155,7 +1155,7 @@ class Rest extends WebService
* @param $user_param * @param $user_param
* @return array * @return array
*/ */
public function saveNewUser($user_param) public function addUser($user_param)
{ {
$results = array(); $results = array();
$orig_user_id_value = array(); $orig_user_id_value = array();

Loading…
Cancel
Save