Commit f296eace authored by catch's avatar catch

Issue #2151117 by Cottser, joelpittet: Remove theme_system_powered_by().

parent 97b18ecb
......@@ -25,7 +25,7 @@ class SystemPoweredByBlock extends BlockBase {
* {@inheritdoc}
*/
public function build() {
return array('#theme' => 'system_powered_by');
return array('#markup' => '<span>' . t('Powered by <a href="@poweredby">Drupal</a>', array('@poweredby' => 'http://drupal.org')) . '</span>');
}
}
......@@ -183,9 +183,6 @@ function system_theme() {
'variables' => array('menu_items' => NULL),
'file' => 'system.admin.inc',
),
'system_powered_by' => array(
'variables' => array(),
),
'system_compact_link' => array(
'variables' => array(),
),
......@@ -2739,15 +2736,6 @@ function system_time_zones($blank = NULL) {
return $zones;
}
/**
* Returns HTML for the Powered by Drupal text.
*
* @ingroup themeable
*/
function theme_system_powered_by() {
return '<span>' . t('Powered by <a href="@poweredby">Drupal</a>', array('@poweredby' => 'http://drupal.org')) . '</span>';
}
/**
* Returns HTML for a link to show or hide inline help descriptions.
*
......
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