removed unused code
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 21 Dec 2010 00:07:20 +0000 (19:07 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 21 Dec 2010 01:02:58 +0000 (20:02 -0500)
hermes/lib/Hermes.php

index 04d733e..cda263b 100644 (file)
@@ -32,14 +32,6 @@ class Hermes
         return $clients;
     }
 
-    static public function getDayOfWeek($timestamp)
-    {
-        // Return 0-6, indicating the position of $timestamp in the
-        // period.
-        $dow = 7 + date('w', $timestamp) - $GLOBALS['prefs']->getValue('start_of_week');
-        return ($dow % 7);
-    }
-
     /**
      * Build Hermes' list of menu items.
      */