plural() was never used
This commit is contained in:
parent
91393e003a
commit
bab3145fbc
@ -13,8 +13,8 @@ class TagHistoryTest extends ShimmieWebTestCase {
|
||||
$this->click("Revert To");
|
||||
$this->assert_title("Image $image_id: pbx");
|
||||
|
||||
$this->get_page("tag_history");
|
||||
$this->click("Global Tag History");
|
||||
$this->get_page("tag_history/all/1");
|
||||
$this->assert_title("Global Tag History");
|
||||
|
||||
$this->delete_image($image_id);
|
||||
$this->log_out();
|
||||
|
@ -172,15 +172,6 @@ function isValidDate($date) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a pluraliser if necessary
|
||||
*
|
||||
* @retval string
|
||||
*/
|
||||
function plural($num, $single_form="", $plural_form="s") {
|
||||
return ($num == 1) ? $single_form : $plural_form;
|
||||
}
|
||||
|
||||
/**
|
||||
* Give a HTML string which shows an IP (if the user is allowed to see IPs),
|
||||
* and a link to ban that IP (if the user is allowed to ban IPs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user