Issue #2157695 by andypost: Remove unused _comment_get_modes().
parent
3574e670fe
commit
0146bc72a8
|
@ -1574,19 +1574,6 @@ function template_preprocess_comment_wrapper(&$variables) {
|
||||||
$variables['form'] = $variables['content']['comment_form'];
|
$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.
|
* Returns an array of "comments per page" values that users can select from.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue