diff --git a/phpgwapi/inc/class.service.inc.php b/phpgwapi/inc/class.service.inc.php index d6668efd47..7eadefa9a7 100644 --- a/phpgwapi/inc/class.service.inc.php +++ b/phpgwapi/inc/class.service.inc.php @@ -1,11 +1,11 @@ * - * Copyright (C) 2001 Miles Lott * - * -------------------------------------------------------------------------* + * This file written by Miles Lott * + * Copyright (C) 2001-2004 Miles Lott * + * ------------------------------------------------------------------------ * * This library is part of the eGroupWare API * - * http://www.egroupware.org/api * + * http://www.egroupware.org/api * * ------------------------------------------------------------------------ * * This library is free software; you can redistribute it and/or modify it * * under the terms of the GNU Lesser General Public License as published by * @@ -37,7 +37,7 @@ $function = $service[1]; $service = $service[0]; } - switch ($service) + switch($service) { case 'schedule': case 'contacts': diff --git a/phpgwapi/inc/class.service_contacts.inc.php b/phpgwapi/inc/class.service_contacts.inc.php index 32f15409f7..9a3a09b00d 100644 --- a/phpgwapi/inc/class.service_contacts.inc.php +++ b/phpgwapi/inc/class.service_contacts.inc.php @@ -1,9 +1,9 @@ * - * Copyright (C) 2001 Miles Lott * - * -------------------------------------------------------------------------* + * This file written by Miles Lott * + * Copyright (C) 2001-2004 Miles Lott * + * ------------------------------------------------------------------------ * * This library is part of the eGroupWare API * * http://www.egroupware.org/api * * ------------------------------------------------------------------------ * diff --git a/phpgwapi/inc/class.service_notes.inc.php b/phpgwapi/inc/class.service_notes.inc.php index ed1cb4f508..5ef66fb927 100644 --- a/phpgwapi/inc/class.service_notes.inc.php +++ b/phpgwapi/inc/class.service_notes.inc.php @@ -1,9 +1,9 @@ * - * Copyright (C) 2001 Miles Lott * - * -------------------------------------------------------------------------* + * This file written by Miles Lott * + * Copyright (C) 2001-2004 Miles Lott * + * ------------------------------------------------------------------------ * * This library is part of the eGroupWare API * * http://www.egroupware.org/api * * ------------------------------------------------------------------------ * @@ -22,9 +22,9 @@ /* $Id$ */ - class service_contacts extends service + class service_notes extends service { - function service_contacts() + function service_notes() { $this->provider = $GLOBALS['phpgw_info']['notes_service'] ? $GLOBALS['phpgw_info']['notes_service'] : 'notes'; $this->svc = $this->provider . '.bo' . $this->provider; diff --git a/phpgwapi/inc/class.service_schedule.inc.php b/phpgwapi/inc/class.service_schedule.inc.php index b7c93ed2b8..889adb89ac 100644 --- a/phpgwapi/inc/class.service_schedule.inc.php +++ b/phpgwapi/inc/class.service_schedule.inc.php @@ -1,9 +1,9 @@ * - * Copyright (C) 2001 Miles Lott * - * -------------------------------------------------------------------------* + * This file written by Miles Lott * + * Copyright (C) 2001-2004 Miles Lott * + * ------------------------------------------------------------------------ * * This library is part of the eGroupWare API * * http://www.egroupware.org/api * * ------------------------------------------------------------------------ * @@ -22,9 +22,9 @@ /* $Id$ */ - class service_contacts extends service + class service_schedule extends service { - function service_contacts() + function service_schedule() { $this->provider = $GLOBALS['phpgw_info']['schedule_service'] ? $GLOBALS['phpgw_info']['schedule_service'] : 'calendar'; $this->svc = $this->provider . '.bo' . $this->provider;