Skip to content

Commit

Permalink
Removing unused variables from inflections.php. These variables are a…
Browse files Browse the repository at this point in the history
…rtifacts from previous refactorings and have been non-functional for quite sometime. Fixes #163
  • Loading branch information
markstory committed Jan 8, 2010
1 parent 730153b commit 11a5403
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions app/config/inflections.php
Expand Up @@ -53,18 +53,5 @@
* $singularRules = array('/(s)tatuses$/i' => '\1\2tatus', '/(matr)ices$/i' =>'\1ix','/(vert|ind)ices$/i')
*/
$singularRules = array();
/**
* This is a key only array of singular words that should not be inflected.
* You should not have to change this value below if you do change it use same format
* as the $uninflectedPlural above.
*/
$uninflectedSingular = $uninflectedPlural;
/**
* This is a key => value array of singular irregular words.
* Most of the time this will be a reverse of the above $irregularPlural array
* You should not have to change this value below if you do change it use same format
*
* $irregularSingular = array('atlases' => 'atlas', 'beefs' => 'beef', 'brothers' => 'brother')
*/
$irregularSingular = array_flip($irregularPlural);

?>

0 comments on commit 11a5403

Please sign in to comment.