Skip to content

Commit 04e63af

Browse files
committed
removed deprecated stuff
1 parent 07fd740 commit 04e63af

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Database/Connection.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ class Connection
4343

4444
public function __construct($dsn, $user = NULL, $password = NULL, array $options = NULL)
4545
{
46-
if (func_num_args() > 4) { // compatibility
47-
trigger_error(__METHOD__ . " fifth argument is deprecated, use \$options['driverClass'].", E_USER_DEPRECATED);
48-
$options['driverClass'] = func_get_arg(4);
49-
}
5046
$this->params = [$dsn, $user, $password];
5147
$this->options = (array) $options;
5248

0 commit comments

Comments
 (0)