File tree Expand file tree Collapse file tree 5 files changed +17
-10
lines changed
Expand file tree Collapse file tree 5 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 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+ {
11+ function save ($ curpass , $ passwd )
1112 {
1213 $ rcmail = rcmail::get_instance ();
1314 $ vesta_host = $ rcmail ->config ->get ('password_vesta_host ' );
@@ -69,3 +70,4 @@ function password_save($curpass, $passwd)
6970 }
7071
7172 }
73+ }
Original file line number Diff line number Diff line change 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 ' );
@@ -69,3 +69,4 @@ function password_save($curpass, $passwd)
6969 }
7070
7171 }
72+ }
Original file line number Diff line number Diff line change 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+ {
11+ function save ($ curpass , $ passwd )
1112 {
1213 $ rcmail = rcmail::get_instance ();
1314 $ vesta_host = $ rcmail ->config ->get ('password_vesta_host ' );
@@ -69,3 +70,4 @@ function password_save($curpass, $passwd)
6970 }
7071
7172 }
73+ }
Original file line number Diff line number Diff line change 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 ' );
@@ -69,3 +69,4 @@ function password_save($curpass, $passwd)
6969 }
7070
7171 }
72+ }
Original file line number Diff line number Diff line change 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 ' );
@@ -69,3 +69,4 @@ function password_save($curpass, $passwd)
6969 }
7070
7171 }
72+ }
You can’t perform that action at this time.
0 commit comments