1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-25 12:35:55 +02:00

[ticket/10345] Remove doubled check for valid plural rule

PHPBB3-10345
This commit is contained in:
Joas Schilling
2011-11-30 21:06:04 +01:00
parent b790d2e283
commit b195fce0a4

View File

@ -1925,10 +1925,6 @@ class user extends session
// Default to English system
$plural_rule = ($force_rule !== false) ? $force_rule : ((isset($this->lang['PLURAL_RULE'])) ? $this->lang['PLURAL_RULE'] : 1);
if ($plural_rule > 15 || $plural_rule < 0)
{
trigger_error('INVALID_PLURAL_RULE');
}
return phpbb_get_plural_form($plural_rule, $number);
}