Skip to content

Commit

Permalink
Indent/clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 5, 2015
1 parent 10a3ae5 commit 836523a
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions framework/Compress/lib/Horde/Compress/Tnef/VTodo.php
Expand Up @@ -305,43 +305,39 @@ public function setMapiAttribute($type, $name, $value)
$this->_status = self::TASK_STATUS_COMPLETED;
$this->_percentComplete = 1;
break;
case Horde_Compress_Tnef::MAPI_TAG_BODY:
// plaintext. Most likely set via the attBody TNEF attribute,
// and not by the MAPI property.
if (empty($this->_bodyPlain)) {
$this->_bodyPlain = $value;
}
break;
case Horde_Compress_Tnef::MAPI_TAG_HTML:
// html
$this->_bodyHtml = $value;
break;
case Horde_Compress_Tnef::MAPI_TAG_RTF_COMPRESSED:
$this->_rtfCompressed = $value;
break;
case Horde_Compress_Tnef::MAPI_TAG_SYNC_BODY:
$this->_inSync = $value;
break;
}
break;
case Horde_Compress_Tnef::MAPI_TAG_BODY:
// plaintext. Most likely set via the attBody TNEF attribute,
// and not by the MAPI property.
if (empty($this->_bodyPlain)) {
$this->_bodyPlain = $value;
}
break;
case Horde_Compress_Tnef::MAPI_TAG_HTML:
// html
$this->_bodyHtml = $value;
break;
case Horde_Compress_Tnef::MAPI_TAG_RTF_COMPRESSED:
$this->_rtfCompressed = $value;
break;
case Horde_Compress_Tnef::MAPI_TAG_SYNC_BODY:
$this->_inSync = $value;
break;
case self::MAPI_TASK_UPDATES:
if (!empty($value)) {
$this->_updates = true;
}
break;

case self::MAPI_TASK_OWNERSHIP:
$this->_ownership = $value;
break;

case self::MAPI_TASK_STATE:
$this->_state = $value;
break;

case Horde_Compress_Tnef::MAPI_LAST_MODIFIER_NAME:
$this->_lastUser = $value;
break;

case self::MAPI_TASK_ASSIGNER:
// *sigh* This isn't set by Outlook/Exchange until AFTER the
// assignee receives the request. I.e., this is blank on the initial
Expand Down

0 comments on commit 836523a

Please sign in to comment.