summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-09-09 13:50:35 +0200
committerAleksander Machniak <alec@alec.pl>2014-09-09 13:50:35 +0200
commit9dd327b400129159b545cb8e9cc5a3b26dc2fb11 (patch)
tree0f1335d48f89115219e16815399e7d09928e4ee0 /plugins
parentfb3ccf2e0981c96bf7e093516999eb23d051a22b (diff)
Remove new_link argument usage, we don't need it anymore
Diffstat (limited to 'plugins')
-rw-r--r--plugins/password/drivers/sql.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/password/drivers/sql.php b/plugins/password/drivers/sql.php
index e52de4b79..ab348ddac 100644
--- a/plugins/password/drivers/sql.php
+++ b/plugins/password/drivers/sql.php
@@ -35,15 +35,8 @@ class rcube_sql_password
}
if ($dsn = $rcmail->config->get('password_db_dsn')) {
- // #1486067: enable new_link option
- if (is_array($dsn) && empty($dsn['new_link']))
- $dsn['new_link'] = true;
- else if (!is_array($dsn) && !preg_match('/\?new_link=true/', $dsn))
- $dsn .= '?new_link=true';
-
$db = rcube_db::factory($dsn, '', false);
$db->set_debug((bool)$rcmail->config->get('sql_debug'));
- $db->db_connect('w');
}
else {
$db = $rcmail->get_dbh();