Minor - remove error_log, format code

pull/2789/head
Julio Montoya 7 years ago
parent ec3acc1f98
commit a35d15d38a
  1. 1
      main/inc/lib/document.lib.php
  2. 2
      main/lp/learnpath.class.php
  3. 2
      plugin/courseblock/CourseBlockPlugin.php
  4. 3
      plugin/dictionary/terms.php

@ -4252,7 +4252,6 @@ class DocumentManager
file_exists($documentData['absolute_path'])
) {
$mp3FilePath = self::convertWavToMp3($documentData['absolute_path']);
error_log($mp3FilePath);
if (!empty($mp3FilePath) && file_exists($mp3FilePath)) {
$documentId = self::addFileToDocumentTool(

@ -3721,7 +3721,6 @@ class learnpath
}
$type_quiz = false;
foreach ($list as $toc) {
if ($toc['id'] == $lp_item_id && ($toc['type'] == 'quiz')) {
$type_quiz = true;
@ -3755,7 +3754,6 @@ class learnpath
if (strpos($document_name, '_DELETED_')) {
$file = 'blank.php?error=document_deleted';
}
break;
case 2:
if ($this->debug > 2) {

@ -50,8 +50,6 @@ class CourseBlockPlugin extends Plugin
return $result ? $result : $result = new self();
}
///public function
public function install()
{
// Installing course settings

@ -75,9 +75,6 @@ switch ($action) {
$tpl = new Template($plugin->get_lang('plugin_title'));
$tpl->assign('terms', $terms);
$tpl->assign('form', $form->returnForm());
//$url = api_get_path(WEB_PLUGIN_PATH).'studentfollowup/posts.php?';
//$tpl->assign('post_url', $url);
$content = $tpl->fetch('/'.$plugin->get_name().'/view/terms.html.twig');
// Assign into content
$tpl->assign('content', $content);

Loading…
Cancel
Save