Comment code / Format code

1.10.x
Julio Montoya 11 years ago
parent 6d3278cceb
commit 59350cbb49
  1. 2
      main/inc/lib/diagnoser.lib.php
  2. 5
      main/newscorm/scormMetadata.class.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'));

@ -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.

Loading…
Cancel
Save