Permalink
Browse files

BackwardsCompatibilityBreak - The second and third parameters of fMes…

…saging::create() were swapped to be consistent with the other fMessaging methods
  • Loading branch information...
wbond committed Sep 8, 2008
1 parent 05cd24e commit 521a55e60f81ea6e48c4fd45e63a07d93b582477
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/session/fMessaging.php
@@ -18,11 +18,11 @@ class fMessaging
* Creates a message that is stored in the session and retrieved by another page
*
* @param string $name A name for the message
* @param string $message The message to send
* @param string $recipient The intended recipient
* @param string $message The message to send
* @return void
*/
static public function create($name, $message, $recipient)
static public function create($name, $recipient, $message)
{
fSession::set($name, $message, __CLASS__ . '::' . $recipient . '::');
}

0 comments on commit 521a55e

Please sign in to comment.