diff --git a/main/inc/lib/diagnoser.lib.php b/main/inc/lib/diagnoser.lib.php index b6cbbf16d1..c7915ac906 100755 --- a/main/inc/lib/diagnoser.lib.php +++ b/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')); diff --git a/main/newscorm/scormMetadata.class.php b/main/newscorm/scormMetadata.class.php index 3309e86e7e..969f4ee454 100755 --- a/main/newscorm/scormMetadata.class.php +++ b/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 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.