Project

General

Profile

Bug #18689 » bug_8231_v3.diff

Administrator Admin, 2009-05-07 08:38

View differences:

t3lib/class.t3lib_install.php (working copy)
function getCollationForCharset($charset) {
// Load character sets, if not cached already
if (!count($this->character_sets)) {
$this->character_sets = $GLOBALS['TYPO3_DB']->admin_get_charsets();
if (method_exists($GLOBALS['TYPO3_DB'],'admin_get_charsets')) {
$this->character_sets = $GLOBALS['TYPO3_DB']->admin_get_charsets();
} else {
$this->character_sets[$charset] = array(); // Add empty element to avoid that the check will be repeated
}
}
$collation = '';
if (isset($this->character_sets[$charset]['Default collation'])) {
$collation = $this->character_sets[$charset]['Default collation'];
}
typo3/sysext/dbal/class.ux_t3lib_db.php (working copy)
}
/**
* mysql() wrapper function, used by the Install Tool.
*
* @return array
*/
function admin_get_charsets() {
return array();
}
/**
* mysql() wrapper function, used by the Install Tool and EM for all queries regarding management of the database!
*
* @param string Query to execute
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dbal/class.ux_t3lib_db.php']);
}
?>
?>
(3-3/3)