Minor - format code.

1.9.x
Julio Montoya 10 years ago
parent a4c4fb6253
commit b58123fa2b
  1. 9
      main/dashboard/block.class.php
  2. 13
      main/dashboard/dashboard_controller.php
  3. 4
      main/dashboard/index.php

@ -3,15 +3,10 @@
/**
* This file contains class used parent class for blocks plugins
* @author Christian Fasanando <christian1827@gmail.com>
* @package chamilo.dashboard
*/
/**
* Parent class for controller Blocks from dashboard plugin
* @author Christian Fasanando <christian1827@gmail.com>
* @package chamilo.dashboard
*/
class Block
{
/**
@ -45,5 +40,3 @@ class Block
return $result;
}
}
?>

@ -2,17 +2,14 @@
/* For licensing terms, see /license.txt */
/**
* Controller script. Prepares the common background variables to give to the scripts corresponding to
* the requested action
* This file contains class used like controller, it should be included inside a dispatcher file (e.g: index.php)
* @author Christian Fasanando <christian1827@gmail.com>
* @package chamilo.dashboard
*/
/**
* Controller script. Prepares the common background variables to give to the scripts corresponding to
* the requested action
*/
class DashboardController { // extends Controller {
class DashboardController
{
private $toolname;
private $view;
private $user_id;
@ -119,6 +116,4 @@ class DashboardController { // extends Controller {
$result = DashboardManager::close_user_block($user_id, $path);
$this->display($result);
}
}
?>

@ -5,9 +5,6 @@
* @author Christian Fasanando <christian1827@gmail.com>
* @package chamilo.dashboard
*/
/**
* Init
*/
// name of the language file that needs to be included
$language_file = array('index', 'tracking', 'userInfo', 'admin', 'gradebook');
$cidReset = true;
@ -45,7 +42,6 @@ $htmlHeadXtra[] = $dashboar_plugin_styles;
// course description controller object
$dashboard_controller = new DashboardController();
if (isset($_GET['path'])) {
$path = $_GET['path'];
}

Loading…
Cancel
Save