### Eclipse Workspace Patch 1.0
#P scheduler6_current
Index: scheduler.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/scheduler/Attic/scheduler.module,v
retrieving revision 1.50.2.57
diff -u -r1.50.2.57 scheduler.module
--- scheduler.module	20 Jan 2011 16:44:08 -0000	1.50.2.57
+++ scheduler.module	22 Feb 2011 19:07:50 -0000
@@ -546,14 +546,14 @@
       }
     }
   }
+  elseif ($op == 'view') {
+    if (isset($a4) && $a4 && isset($node->unpublish_on) && $node->unpublish_on) {
+      $unavailable_after = date("d-M-Y H:i:s T", $node->unpublish_on);
+      drupal_set_html_head('<meta name="googlebot" content="unavailable_after: '. $unavailable_after .'" />');
+    }
+  }
   elseif (user_access('schedule (un)publishing of nodes')) {
     switch ($op) {
-      case 'view':
-        if (isset($a4) && $a4 && isset($node->unpublish_on) && $node->unpublish_on) {
-          $unavailable_after = date("d-M-Y H:i:s T", $node->unpublish_on);
-          drupal_set_html_head('<meta name="googlebot" content="unavailable_after: '. $unavailable_after .'" />');
-        }
-        break;
       case 'validate':
       case 'presave':
         // adjust the entered times for timezone consideration.
