projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
664f333
)
removed unused code
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 21 Dec 2010 00:07:20 +0000
(19:07 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 21 Dec 2010 01:02:58 +0000
(20:02 -0500)
hermes/lib/Hermes.php
patch
|
blob
|
history
diff --git
a/hermes/lib/Hermes.php
b/hermes/lib/Hermes.php
index
04d733e
..
cda263b
100644
(file)
--- 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.
*/