Commit 8abed282 authored by Dries's avatar Dries
Browse files

- Patch #186718 by bdragon: removed redundant query.

parent cb9fc93e
...@@ -1521,9 +1521,6 @@ function node_page_default() { ...@@ -1521,9 +1521,6 @@ function node_page_default() {
$output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); $output .= theme('pager', NULL, variable_get('default_nodes_main', 10));
} }
else { else {
// Check for existence of admin account.
$admin = db_result(db_query('SELECT uid FROM {users} WHERE uid = 1'));
$default_message = t('<h1 class="title">Welcome to your new Drupal website!</h1><p>Please follow these steps to set up and start using your website:</p>'); $default_message = t('<h1 class="title">Welcome to your new Drupal website!</h1><p>Please follow these steps to set up and start using your website:</p>');
$default_message .= '<ol>'; $default_message .= '<ol>';
......
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