diff --git a/phpgwapi/inc/class.sbox.inc.php b/phpgwapi/inc/class.sbox.inc.php
index 3118226408..ead9604a6a 100644
--- a/phpgwapi/inc/class.sbox.inc.php
+++ b/phpgwapi/inc/class.sbox.inc.php
@@ -286,15 +286,13 @@
function hour_formated_text($name, $selected = 0)
{
- global $phpgw;
-
$s = '";
@@ -303,8 +301,6 @@
function hour_text($name, $selected = 0)
{
- global $phpgw;
-
$s = '