Removed $build_mode variable since it was replaced with $view_mode.
authorJohnAlbin
Thu, 21 Jan 2010 13:17:54 +0000 (13:17 +0000)
committerJohnAlbin
Thu, 21 Jan 2010 13:17:54 +0000 (13:17 +0000)
template.php

index 98de9b3..e83a75b 100644 (file)
@@ -187,9 +187,6 @@ function zen_preprocess_maintenance_page(&$vars, $hook) {
  *   The name of the template being rendered ("node" in this case.)
  */
 function zen_preprocess_node(&$vars, $hook) {
-  // Create the build_mode variable.
-  $vars['build_mode'] = $vars['elements']['#build_mode'];
-
   // $node_title is idiotic.
   $vars['title'] = $vars['node_title'];