Minor - format code, fix chamilo_database_version call

pull/3016/head
Julio Montoya 6 years ago
parent b39ac75c0f
commit 3231352b3f
  1. 3
      main/admin/system_status.php
  2. 2
      main/inc/lib/diagnoser.lib.php
  3. 4
      main/social/skills_ranking.php

@ -1,8 +1,7 @@
<?php
/* For licensing terms, see /license.txt */
/**
* @package chamilo.admin
*
* @author Julio Montoya <gugli100@gmail.com>
*/
$cidReset = true;

@ -177,7 +177,7 @@ class Diagnoser
get_lang('The directory should be removed (it is no longer necessary)')
);
$app_version = api_get_setting('chamilo_database_version');
$app_version = api_get_setting('platform.chamilo_database_version');
$array[] = $this->build_setting(
self::STATUS_INFORMATION,
'[DB]',

@ -2,8 +2,6 @@
/* For licensing terms, see /license.txt */
/**
* @package chamilo.social
*
* @author Julio Montoya <gugli100@gmail.com>
*/
$cidReset = true;
@ -15,7 +13,7 @@ Skill::isAllowed(api_get_user_id());
//Add the JS needed to use the jqgrid
$htmlHeadXtra[] = api_get_jqgrid_js();
$interbreadcrumb[] = ["url" => "index.php", "name" => get_lang('Skills')];
$interbreadcrumb[] = ['url' => 'index.php', 'name' => get_lang('Skills')];
//jqgrid will use this URL to do the selects
$url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_user_skill_ranking';

Loading…
Cancel
Save