Commit cba1448f authored by Manfred Kutas's avatar Manfred Kutas

ZP-729 Renamed parseSmime to ParseSmime to match the code style.

Released under the Affero GNU General Public License (AGPL) version 3.
parent be0b08a3
...@@ -513,7 +513,7 @@ class MAPIProvider { ...@@ -513,7 +513,7 @@ class MAPIProvider {
* @return SyncEmail * @return SyncEmail
*/ */
private function getEmail($mapimessage, $contentparameters) { private function getEmail($mapimessage, $contentparameters) {
MAPIUtils::parseSmime($this->session, $this->store, $this->getAddressbook(), $mapimessage); MAPIUtils::ParseSmime($this->session, $this->store, $this->getAddressbook(), $mapimessage);
$message = new SyncMail(); $message = new SyncMail();
$this->getPropsFromMAPI($message, $mapimessage, MAPIMapping::GetEmailMapping()); $this->getPropsFromMAPI($message, $mapimessage, MAPIMapping::GetEmailMapping());
......
...@@ -595,7 +595,7 @@ class MAPIUtils { ...@@ -595,7 +595,7 @@ class MAPIUtils {
* @access public * @access public
* @return void * @return void
*/ */
public static function parseSmime($session, $store, $addressBook, &$mapimessage) { public static function ParseSmime($session, $store, $addressBook, &$mapimessage) {
$props = mapi_getprops($mapimessage, array(PR_MESSAGE_CLASS)); $props = mapi_getprops($mapimessage, array(PR_MESSAGE_CLASS));
if (isset($props[PR_MESSAGE_CLASS]) && stripos($props[PR_MESSAGE_CLASS], 'IPM.Note.SMIME.MultipartSigned') !== false) { if (isset($props[PR_MESSAGE_CLASS]) && stripos($props[PR_MESSAGE_CLASS], 'IPM.Note.SMIME.MultipartSigned') !== false) {
......
...@@ -667,7 +667,7 @@ class BackendZarafa implements IBackend, ISearchProvider { ...@@ -667,7 +667,7 @@ class BackendZarafa implements IBackend, ISearchProvider {
if(!$message) if(!$message)
throw new StatusException(sprintf("ZarafaBackend->GetAttachmentData('%s'): Error, unable to open item for attachment data for id '%s' with: 0x%X", $attname, $id, mapi_last_hresult()), SYNC_ITEMOPERATIONSSTATUS_INVALIDATT); throw new StatusException(sprintf("ZarafaBackend->GetAttachmentData('%s'): Error, unable to open item for attachment data for id '%s' with: 0x%X", $attname, $id, mapi_last_hresult()), SYNC_ITEMOPERATIONSSTATUS_INVALIDATT);
MAPIUtils::parseSmime($this->session, $this->defaultstore, $this->getAddressbook(), $message); MAPIUtils::ParseSmime($this->session, $this->defaultstore, $this->getAddressbook(), $message);
$attach = mapi_message_openattach($message, $attachnum); $attach = mapi_message_openattach($message, $attachnum);
if(!$attach) if(!$attach)
throw new StatusException(sprintf("ZarafaBackend->GetAttachmentData('%s'): Error, unable to open attachment number '%s' with: 0x%X", $attname, $attachnum, mapi_last_hresult()), SYNC_ITEMOPERATIONSSTATUS_INVALIDATT); throw new StatusException(sprintf("ZarafaBackend->GetAttachmentData('%s'): Error, unable to open attachment number '%s' with: 0x%X", $attname, $attachnum, mapi_last_hresult()), SYNC_ITEMOPERATIONSSTATUS_INVALIDATT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment