As suggested by budda here:
http://drupal.org/node/17291#comment-71617

The variable $frontpage is created, but not used:

  /* Set title and breadcrumb to declared values */
  if ($_GET['q'] == variable_get('site_frontpage', 'node')) {
    $mission = theme_get_setting('mission');
    $frontpage = true;
  }

Aside, the same "concept" is populated in function _phptemplate_default_variables():

  if (drupal_get_path_alias($_GET['q']) == variable_get('site_frontpage', 'node')) {
    $variables['is_front'] = true;
  }

$is_front is passed to all *.tpl.php files, hence $frontpage is not needed.

Please, see attached patch.

CommentFileSizeAuthor
phptemplate.frontpage.patch413 bytesmarkus_petrux
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Committed to HEAD. Thanks.

markus_petrux’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)