소스 검색

Update vesta.php

New version of roundcube 'password' plugin is expecting class instead of function.
dpeca 10 년 전
부모
커밋
f95af89939
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      install/debian/8/roundcube/vesta.php

+ 3 - 2
install/debian/8/roundcube/vesta.php

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