MDL-17491 removing unused password workaround, adding note that some special chars are discouraged in oracle db passwords

This commit is contained in:
Petr Skoda 2010-09-14 21:13:03 +00:00
parent bd3e0b205d
commit 2eff97b726

View File

@ -167,7 +167,8 @@ class oci_native_moodle_database extends moodle_database {
$this->store_settings($dbhost, $dbuser, $dbpass, $dbname, $prefix, $dboptions);
unset($this->dboptions['dbsocket']);
$pass = addcslashes($this->dbpass, "'\\");
// NOTE: use of ', ", / and \ is very problematic, even native oracle tools seem to have
// problems with these, so just forget them and od not report problems into tracker...
if (empty($this->dbhost)) {
// old style full address (TNS)