Prechádzať zdrojové kódy

Update vesta.php

New version of roundcube 'password' plugin is expecting class instead of function.
dpeca 10 rokov pred
rodič
commit
f95af89939
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  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 <skid@vestacp.com>
  * @author Serghey Rodin <skid@vestacp.com>
  */
  */
-
-    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 @@
         }
         }
 
 
     }
     }
+}