Issue #2157695 by andypost: Remove unused _comment_get_modes().

8.0.x
Nathaniel Catchpole 2014-01-01 20:51:33 +00:00
parent 3574e670fe
commit 0146bc72a8
1 changed files with 0 additions and 13 deletions

View File

@ -1574,19 +1574,6 @@ function template_preprocess_comment_wrapper(&$variables) {
$variables['form'] = $variables['content']['comment_form'];
}
/**
* Returns an array of viewing modes for comment listings.
*
* We can't use a global variable array because the locale system
* is not initialized yet when the Comment module is loaded.
*/
function _comment_get_modes() {
return array(
COMMENT_MODE_FLAT => t('Flat list'),
COMMENT_MODE_THREADED => t('Threaded list')
);
}
/**
* Returns an array of "comments per page" values that users can select from.
*/