}
/**
- * @TODO
+ * Get the wastebasket folder
*
* @see framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#getWasteBasket()
*/
}
$folders = array();
- if (array_search('calendar', $supported)){
+ if (array_search('calendar', $supported)) {
$folders[] = $this->statFolder(self::APPOINTMENTS_FOLDER);
}
- if (array_search('contacts', $supported)){
+ if (array_search('contacts', $supported)) {
$folders[] = $this->statFolder(self::CONTACTS_FOLDER);
}
- if (array_search('tasks', $supported)){
+ if (array_search('tasks', $supported)) {
$folders[] = $this->statFolder(self::TASKS_FOLDER);
}
try {
$tasks = $this->_connector->tasks_listUids();
} catch (Horde_Exception $e) {
- $this->_logger->err($e->getMessage());
- $this->_endBuffer();
- return array();
+ $this->_logger->err($e->getMessage());
+ $this->_endBuffer();
+ return array();
}
- foreach ($tasks as $task)
- {
+ foreach ($tasks as $task) {
$messages[] = $this->_smartStatMessage($folderid, $task, false);
}
break;
$message = $this->_connector->calendar_export($id);
// Nokia MfE requires the optional UID element.
if (!$message->getUid()) {
- $message->setUid(pack("H*" , md5($id)));
+ $message->setUid(pack("H*", md5($id)));
}
} catch (Horde_Exception $e) {
$this->_logger->err($e->getMessage());
* Currently only used when meeting requests are sent from the PIM.
*
* @param string $rfc822 The rfc822 mime message
- * @param boolean $forward @TODO
- * @param boolean $reply @TODO
- * @param boolean $parent @TODO
+ * @param boolean $forward Indicates if this is a forwarded message
+ * @param boolean $reply Indicates if this is a reply
*
* @return boolean
*/
- public function sendMail($rfc822, $forward = false, $reply = false, $parent = false)
+ public function sendMail($rfc822, $forward = false, $reply = false)
{
$headers = Horde_Mime_Headers::parseHeaders($rfc822);
$part = Horde_Mime_Part::parseMessage($rfc822);
if (!empty($info['extra'])) {
try {
Horde::callHook('signup_addextra', array($info['user_name'], $info['extra'], $info['password']));
- } catch (Horde_Exception_HookNotSet $e) {}
+ } catch (Horde_Exception_HookNotSet $e) {
+ }
}
}
try {
Horde::callHook('signup_queued', array($info['user_name'], $info));
- } catch (Horde_Exception_HookNotSet $e) {}
+ } catch (Horde_Exception_HookNotSet $e) {
+ }
+
if (!empty($conf['signup']['email'])) {
$link = Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/admin/signup_confirm.php', true, -1)->setRaw(true)->add(array(
{
try {
$info = Horde::callHook('signup_preprocess', array($info));
- } catch (Horde_Exception_HookNotSet $e) {}
+ } catch (Horde_Exception_HookNotSet $e) {
+ }
// Check to see if the username already exists in the auth backend or
// the signup queue.