Minor - cleaning code

skala
Julio Montoya 15 years ago
parent 8115cbdb64
commit e12f3ab3f6
  1. 3
      main/dashboard/dashboard_controller.php
  2. 16
      main/dashboard/index.php

@ -9,8 +9,7 @@
/**
* Controller script. Prepares the common background variables to give to the scripts corresponding to
* the requested action
* @package chamilo.dashboard
* the requested action
*/
class DashboardController { // extends Controller {

@ -49,16 +49,16 @@ if (isset($_GET['path'])) {
// distpacher actions to controller
switch ($action) {
case 'listing':
$dashboard_controller->display();
break;
$dashboard_controller->display();
break;
case 'store_user_block':
$dashboard_controller->store_user_block();
break;
$dashboard_controller->store_user_block();
break;
case 'disable_block':
$dashboard_controller->close_user_block($path);
break;
default :
$dashboard_controller->display();
$dashboard_controller->close_user_block($path);
break;
default :
$dashboard_controller->display();
}
?>

Loading…
Cancel
Save