Commit 0146bc72 authored by catch's avatar catch

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

parent 3574e670
......@@ -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.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment