packages: horde-imp/imp-quota_hook.patch - fixed parameters parsing

baggins baggins at pld-linux.org
Thu Apr 22 14:30:42 CEST 2010


Author: baggins                      Date: Thu Apr 22 12:30:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed parameters parsing

---- Files affected:
packages/horde-imp:
   imp-quota_hook.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/horde-imp/imp-quota_hook.patch
diff -u packages/horde-imp/imp-quota_hook.patch:1.3 packages/horde-imp/imp-quota_hook.patch:1.4
--- packages/horde-imp/imp-quota_hook.patch:1.3	Thu Apr 22 13:16:11 2010
+++ packages/horde-imp/imp-quota_hook.patch	Thu Apr 22 14:30:37 2010
@@ -1,17 +1,13 @@
 diff -ur imp-h3-4.3/config/hooks.php.dist imp-h3-4.3-quota_hook/config/hooks.php.dist
 --- imp-h3-4.3/config/hooks.php.dist	2008-06-05 11:04:14.000000000 +0200
 +++ imp-h3-4.3-quota_hook/config/hooks.php.dist	2008-10-12 01:35:41.000000000 +0200
-@@ -505,12 +505,12 @@
- //               In case of an error, return PEAR::raiseError()
- 
- // if (!function_exists('_imp_hook_quota')) {
--//     function _imp_hook_quota($params = null)
-+//     function _imp_hook_quota($command = null, $fs = null)
- //     {
+@@ -505,7 +505,9 @@
  //         $host = $_SESSION['imp']['server'];
  //         $user = $_SESSION['imp']['user'];
  //         $pass = Auth::getCredential('password');
 -//         $command = $params[0];
++//         $command = $params['command'];
++//         $fs = $params['fs'];
 +//         $quota = array(0, 0, 0);
  // 
  //         $session = ssh2_connect($host);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/horde-imp/imp-quota_hook.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list