From 0146bc72a84f6de89b8c881e4c19bb5bd1fd897e Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Wed, 1 Jan 2014 20:51:33 +0000 Subject: [PATCH] Issue #2157695 by andypost: Remove unused _comment_get_modes(). --- core/modules/comment/comment.module | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index 94cb23199a0..ec6a2cc9716 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -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. */