Update vesta.php

New version of roundcube 'password' plugin is expecting class instead of function.
This commit is contained in:
dpeca 2016-01-31 03:47:30 +01:00
commit f95af89939

View file

@ -6,8 +6,8 @@
* @version 1.0
* @author Serghey Rodin <skid@vestacp.com>
*/
function password_save($curpass, $passwd)
class rcube_vesta_password {
function save($curpass, $passwd)
{
$rcmail = rcmail::get_instance();
$vesta_host = $rcmail->config->get('password_vesta_host');
@ -60,3 +60,4 @@
}
}
}