From 44c1193dfc9d9188b27e90651b596862557e1647 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 20 Dec 2010 19:07:20 -0500 Subject: [PATCH] removed unused code --- hermes/lib/Hermes.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hermes/lib/Hermes.php b/hermes/lib/Hermes.php index 04d733ec5..cda263b8b 100644 --- a/hermes/lib/Hermes.php +++ b/hermes/lib/Hermes.php @@ -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. */ -- 2.11.0