Skip to content

Commit f95af89

Browse files
committed
Update vesta.php
New version of roundcube 'password' plugin is expecting class instead of function.
1 parent 1689ea3 commit f95af89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install/debian/8/roundcube/vesta.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @version 1.0
77
* @author Serghey Rodin <skid@vestacp.com>
88
*/
9-
10-
function password_save($curpass, $passwd)
9+
class rcube_vesta_password {
10+
function save($curpass, $passwd)
1111
{
1212
$rcmail = rcmail::get_instance();
1313
$vesta_host = $rcmail->config->get('password_vesta_host');
@@ -60,3 +60,4 @@ function password_save($curpass, $passwd)
6060
}
6161

6262
}
63+
}

0 commit comments

Comments
 (0)