Remove dead code.
This commit is contained in:
parent
9f838c0c11
commit
eadf1d9e87
1 changed files with 0 additions and 13 deletions
|
@ -39,19 +39,6 @@ class RatingsTheme extends Themelet {
|
|||
";
|
||||
$page->add_block(new Block("List Controls", $html, "left"));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $rating
|
||||
* @return string
|
||||
*/
|
||||
public function rating_to_name(/*string*/ $rating) {
|
||||
switch($rating) {
|
||||
case 's': return "Safe";
|
||||
case 'q': return "Questionable";
|
||||
case 'e': return "Explicit";
|
||||
default: return "Unknown";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue