mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-17491 removing unused password workaround, adding note that some special chars are discouraged in oracle db passwords
This commit is contained in:
parent
bd3e0b205d
commit
2eff97b726
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user