- Patch #767872 by JohnAlbin: theme_node_log_message() has never, ever been used.
parent
cc5b8e6aee
commit
f9739e9cfe
|
@ -144,9 +144,6 @@ function node_theme() {
|
|||
'variables' => array('node' => NULL),
|
||||
'file' => 'node.pages.inc',
|
||||
),
|
||||
'node_log_message' => array(
|
||||
'variables' => array('log' => NULL),
|
||||
),
|
||||
'node_admin_overview' => array(
|
||||
'variables' => array('name' => NULL, 'type' => NULL),
|
||||
),
|
||||
|
@ -1405,15 +1402,6 @@ function template_preprocess_node(&$variables) {
|
|||
$variables['theme_hook_suggestions'][] = 'node__' . $node->nid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Theme a log message.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function theme_node_log_message($variables) {
|
||||
return '<div class="log"><div class="title">' . t('Log') . ':</div>' . $variables['log'] . '</div>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_permission().
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue