Skip to content
Snippets Groups Projects
Commit 1889e560 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1051164 by betz: remove unnecessary ['submitted'] override in template.php.

parent faa920f9
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -106,7 +106,6 @@ function bartik_process_maintenance_page(&$variables) {
* Override or insert variables into the node template.
*/
function bartik_preprocess_node(&$variables) {
$variables['submitted'] = t('published by !username on !datetime', array('!username' => $variables['name'], '!datetime' => $variables['date']));
if ($variables['view_mode'] == 'full' && node_is_page($variables['node'])) {
$variables['classes_array'][] = 'node-full';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment