Browse Source

debug mailboxinfo

andre 5 years ago
parent
commit
012529aad2
2 changed files with 4 additions and 4 deletions
  1. 3 3
      api/Zm/Account.php
  2. 1 1
      zimbraSingle.inc

+ 3 - 3
api/Zm/Account.php

@@ -297,11 +297,11 @@ class Zm_Account
 	}
 	}
 
 
 	/**
 	/**
-	 * getMailboxInfo
+	 * getMailbox
 	 * @param string $name account name
 	 * @param string $name account name
 	 * @return string account informations
 	 * @return string account informations
 	 */
 	 */
-	function getMailboxInfo($name)
+	function getMailbox($name)
 	{
 	{
 		$result = null;
 		$result = null;
 
 
@@ -312,7 +312,7 @@ class Zm_Account
 		try
 		try
 		{
 		{
 			$result = $this->auth->execSoapCall(
 			$result = $this->auth->execSoapCall(
-				"GetMailboxInfoRequest",
+				"GetMailboxRequest",
 				$params
 				$params
 			);
 			);
 
 

+ 1 - 1
zimbraSingle.inc

@@ -365,7 +365,7 @@ function zimbraSingleClientArea($userData)
         return false;
         return false;
     }
     }
 
 
-    $response = $apiAccountManager->getMailboxInfo($account_name);
+    $response = $apiAccountManager->getMailbox($account_name);
     if(is_a($response, "Exception")) {
     if(is_a($response, "Exception")) {
         logModuleCall(
         logModuleCall(
             'zimbrasingle',
             'zimbrasingle',