Bladeren bron

Update vesta.php

New version of roundcube 'password' plugin is expecting class instead of function.
dpeca 10 jaren geleden
bovenliggende
commit
f95af89939
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 3 2
      install/debian/8/roundcube/vesta.php

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

@@ -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 @@
         }
 
     }
+}