Skip to content

Commit c109eec

Browse files
committed
Cleaned up DB credentials from connect() method.
1 parent a8608f3 commit c109eec

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ToolkitApi/Db2supp.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,8 @@ public function __construct($database, $user, $password, $options = null)
4040
*
4141
* @return bool
4242
*/
43-
public function connect($database, $user, $password, $options = null)
43+
public function connect()
4444
{
45-
$this->database = $database;
46-
$this->user = $user;
47-
$this->password = $password;
48-
$this->options = $options;
49-
5045
// Compensate for older ibm_db2 driver that may not do this check.
5146
if ($this->user && empty($this->password)) {
5247
$this->setErrorCode('08001');

0 commit comments

Comments
 (0)