Skip to content

Commit

Permalink
Rename 'listCategories' function to buyCourseListCategories to avoid …
Browse files Browse the repository at this point in the history
…conflicts - refs #7497
  • Loading branch information
ilosada committed Mar 16, 2015
1 parent f58039e commit 76e9eca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/buycourses/src/buy_course.lib.php
Expand Up @@ -346,7 +346,7 @@ function checkUserBuyTransfer($parameter, $user, $type = 'COURSE')
* Returns an array with all the categories
* @return array All the categories
*/
function listCategories()
function buyCourseListCategories()
{
$tblCourseCategory = Database::get_main_table(TABLE_MAIN_CATEGORY);
$sql = "SELECT code, name FROM $tblCourseCategory";
Expand Down
2 changes: 1 addition & 1 deletion plugin/buycourses/src/list.php
Expand Up @@ -42,7 +42,7 @@
}

$courseList = userCourseList();
$categoryList = listCategories();
$categoryList = buyCourseListCategories();
$currencyType = findCurrency();

$tpl->assign('server', $_configuration['root_web']);
Expand Down

0 comments on commit 76e9eca

Please sign in to comment.