From ef2e7b3f9d264ec146d4dae257b1e295ab3b462a Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 21 Apr 2015 12:45:58 +0200 Subject: updates - plugins as a separate git folder --- plugins/password/drivers/dbmail.php | 70 ------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 plugins/password/drivers/dbmail.php (limited to 'plugins/password/drivers/dbmail.php') diff --git a/plugins/password/drivers/dbmail.php b/plugins/password/drivers/dbmail.php deleted file mode 100644 index 120728395..000000000 --- a/plugins/password/drivers/dbmail.php +++ /dev/null @@ -1,70 +0,0 @@ -config->get('password_dbmail_args', ''); - $command = "$curdir/chgdbmailusers -c $username -w $password $args"; - - if (strlen($command) > 1024) { - rcube::raise_error(array( - 'code' => 600, - 'type' => 'php', - 'file' => __FILE__, 'line' => __LINE__, - 'message' => "Password plugin: The command is too long." - ), true, false); - - return PASSWORD_ERROR; - } - - exec($command, $output, $returnvalue); - - if ($returnvalue == 0) { - return PASSWORD_SUCCESS; - } - else { - rcube::raise_error(array( - 'code' => 600, - 'type' => 'php', - 'file' => __FILE__, 'line' => __LINE__, - 'message' => "Password plugin: Unable to execute $curdir/chgdbmailusers" - ), true, false); - } - - return PASSWORD_ERROR; - } -} -- cgit v1.2.3