Browse Source

Comment code / Format code

Julio Montoya 10 years ago
parent
commit
59350cbb49
2 changed files with 3 additions and 4 deletions
  1. 1 1
      main/inc/lib/diagnoser.lib.php
  2. 2 3
      main/newscorm/scormMetadata.class.php

+ 1 - 1
main/inc/lib/diagnoser.lib.php

@@ -225,7 +225,7 @@ class Diagnoser
 
         // A note: Maybe it would be better if all "MySQL"-like variable names and words on the page to be replaced with "Database"-like ones.
 
-        $array[] = $this->build_setting(self :: STATUS_INFORMATION, '[MySQL]', 'host', 'http://www.php.net/manual/en/function.mysql-get-host-info.php', Database::get_host_info(), null, null, get_lang('MysqlHostInfo'));
+        //$array[] = $this->build_setting(self :: STATUS_INFORMATION, '[MySQL]', 'host', 'http://www.php.net/manual/en/function.mysql-get-host-info.php', Database::get_host_info(), null, null, get_lang('MysqlHostInfo'));
         /*
         $array[] = $this->build_setting(self :: STATUS_INFORMATION, '[MySQL]', 'mysql_get_server_info()', 'http://www.php.net/manual/en/function.mysql-get-server-info.php', Database::get_server_info(), null, null, get_lang('MysqlServerInfo'));
 

+ 2 - 3
main/newscorm/scormMetadata.class.php

@@ -27,11 +27,10 @@ class scormMetadata
      * @param	mixed	Depending on the type, can be the DB ID of the learnpath item or the pointer to the <metadata> element in the imsmanifest.xml file
      * @return	boolean	True on success, false on failure
      */
-    public function __construct($type = 'manifest', &$element) {
+    public function __construct($type = 'manifest', &$element)
+    {
         if (isset($element)) {
-
             // Parsing using PHP5 DOMXML methods.
-
             switch ($type) {
                 case 'db':
                     // TODO: Implement this way of metadata object creation.