Comment unused code.

ofaj
jmontoyaa 8 years ago
parent d827bf29ea
commit 67c53fcd6c
  1. 1
      main/ticket/download.php
  2. 7
      main/ticket/tutor.php
  3. 3
      main/ticket/update_report.php

@ -6,7 +6,6 @@
*/
require_once __DIR__.'/../inc/global.inc.php';
$plugin = TicketPlugin::create();
api_block_anonymous_users();
$user_id = api_get_user_id();

@ -4,14 +4,11 @@
/**
* @package chamilo.plugin.ticket
*/
exit;
require_once __DIR__.'/../inc/global.inc.php';
$plugin = TicketPlugin::create();
require_once __DIR__.'/tutor_report.lib.php';
$htmlHeadXtra[] = '
<script type="text/javascript">
$htmlHeadXtra[] = '<script>
$(document).ready(function (){
$(".ajax").click(function() {
var url = this.href;

@ -4,9 +4,8 @@
/**
* @package chamilo.plugin.ticket
*/
exit;
require_once __DIR__.'/../inc/global.inc.php';
$plugin = TicketPlugin::create();
$work_id = intval($_POST['work_id']);
$forum_id = intval($_POST['forum_id']);

Loading…
Cancel
Save