mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
Update vesta.php
New version of roundcube 'password' plugin is expecting class instead of function.
This commit is contained in:
parent
1689ea34a2
commit
f95af89939
1 changed files with 3 additions and 2 deletions
|
@ -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 @@
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue