Kaynağa Gözat

Minor - format code

Julio Montoya 6 yıl önce
ebeveyn
işleme
8a922f2260
2 değiştirilmiş dosya ile 3 ekleme ve 4 silme
  1. 3 3
      main/lp/lp_ajax_save_item.php
  2. 0 1
      main/lp/readout_text.php

+ 3 - 3
main/lp/lp_ajax_save_item.php

@@ -85,7 +85,7 @@ function save_item(
 
     if (!is_a($myLP, 'learnpath')) {
         if ($debug) {
-            error_log("mylp variable is not an learnpath object");
+            error_log('mylp variable is not an learnpath object');
         }
 
         return null;
@@ -146,7 +146,7 @@ function save_item(
             }
         } else {
             if ($debug > 1) {
-                error_log("Score not updated");
+                error_log('Score not updated');
             }
         }
 
@@ -164,7 +164,7 @@ function save_item(
             }
         } else {
             if ($debug > 1) {
-                error_log("Status not updated");
+                error_log('Status not updated');
             }
         }
 

+ 0 - 1
main/lp/readout_text.php

@@ -8,7 +8,6 @@ use Chamilo\CourseBundle\Entity\CDocument;
  *
  * @package chamilo.learnpath
  */
-
 $_in_course = true;
 
 require_once __DIR__.'/../inc/global.inc.php';