Permalink
Browse files

BackwardsCompatibilityBreak - Changed fCRUD::removeListItems() so its…

… parameters were consistent with fCRUD::reorderListItems()
  • Loading branch information...
wbond committed Sep 16, 2008
1 parent e97dc64 commit 7c6a0858de2c431bcf710e7cc48e344e98b82807
Showing with 3 additions and 4 deletions.
  1. +3 −4 classes/fCRUD.php
View
@@ -293,13 +293,12 @@ static public function redirectWithLoadedValues()
/**
* Removes list items from an fPrintableException based on their contents
*
* @param fPrintableException $exception The exception to remove field names from
* @param string $filter,... If this content is found in a list item, the list item will be removed
* @param fPrintableException $exception The exception to remove field names from
* @param array $filters An array of strings to search for, if a string is found in a list item, the list item will be removed
* @return void
*/
static public function removeListItems(fPrintableException $exception, $filter)
static public function removeListItems(fPrintableException $exception, $filters)
{
$filters = array_slice(func_get_args(), 1);
$message = $exception->getMessage();
// If we can't find a list, don't bother continuing

0 comments on commit 7c6a085

Please sign in to comment.