? test.patch
? archive/_________station_archive.install
? archive/____station_archive.module
? catalog/The Database.mdb
? catalog/fixit.php
? catalog/import.php
Index: schedule/views_defaults.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/schedule/views_defaults.inc,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 views_defaults.inc
--- schedule/views_defaults.inc	27 Nov 2007 01:19:58 -0000	1.14
+++ schedule/views_defaults.inc	27 Nov 2007 17:04:45 -0000
@@ -140,6 +140,10 @@ function station_schedule_views_default_
       'label' => variable_get('station_schedule_dj_title', 'DJs'),
     ),
   );
+  // If there's no archive remove the listen links.
+  if (!station_has_archive()) {
+    unset($view->field[1]);
+  }
   $view->filter = array (
     array (
       'tablename' => 'node',
