Changeset 6641 for trunk/prototype/modules/mail/interceptors/Helpers.php
- Timestamp:
- 06/26/12 14:59:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/interceptors/Helpers.php
r6566 r6641 206 206 207 207 if(empty($params['messageId'])) 208 { 209 throw new Exception('#FollowupflagMessageIdError'); 210 }else{ 211 212 $params = Controller::create($imap_uri, $params); 213 } 208 throw new Exception('#FollowupflagMessageIdError'); 209 else 210 $params = Controller::create($imap_uri, $params); 211 214 212 if (!$params) 215 throw new Exception('#FollowupflagParamsError');213 throw new Exception('#FollowupflagLimitError'); 216 214 } 217 215 … … 222 220 * deste interceptor. 223 221 */ 222 223 224 225 224 226 if ($original['URI']['service'] == 'PostgreSQL') return $result; 225 227 … … 267 269 //followupflagged:PostgreSQL.after.find 268 270 public function doImapFind( &$uri , &$result , &$criteria , $original ){ 269 270 $imap_uri = $uri;271 272 $imap_uri = $uri; 271 273 $imap_uri['service'] = 'Imap'; 272 274 $imap_criteria = $original['criteria']; … … 311 313 * Faz a consistência do banco com o imap 312 314 */ 313 315 /* 314 316 if ($result) { 315 317 $idList = array();
Note: See TracChangeset
for help on using the changeset viewer.