From b6631877a00a9b48b2714b40ffbfb372b8dddb57 Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 26 Dec 2000 20:29:47 +0000 Subject: [PATCH] removed addressbook and todo from api --- phpgwapi/inc/phpgw.inc.php | 20 ++----- phpgwapi/inc/phpgw_addressbook.inc.php | 16 ----- phpgwapi/inc/phpgw_todo.inc.php | 83 -------------------------- 3 files changed, 5 insertions(+), 114 deletions(-) delete mode 100644 phpgwapi/inc/phpgw_addressbook.inc.php delete mode 100644 phpgwapi/inc/phpgw_todo.inc.php diff --git a/phpgwapi/inc/phpgw.inc.php b/phpgwapi/inc/phpgw.inc.php index d564612b1c..24d9da9e0a 100644 --- a/phpgwapi/inc/phpgw.inc.php +++ b/phpgwapi/inc/phpgw.inc.php @@ -94,17 +94,6 @@ include($phpgw_info["server"]["api_inc"] . "/phpgw_vfs.inc.php"); $phpgw->vfs = new vfs; } - - if ($phpgw_info["flags"]["enable_todo_class"]) { - include($phpgw_info["server"]["api_inc"] . "/phpgw_todo.inc.php"); - $phpgw->todo = new todo; - } - - if ($phpgw_info["flags"]["enable_addressbook_class"]) { - include($phpgw_info["server"]["api_inc"] . "/phpgw_addressbook.inc.php"); - $phpgw->addressbook = new addressbook; - } - } /**************************************************************************\ @@ -114,12 +103,10 @@ { var $accounts; var $acl; - var $addressbook; var $auth; var $db; var $debug = 0; // This will turn on debugging information. (Not fully working) var $crypto; - var $calendar; var $categories; var $common; var $hooks; @@ -127,14 +114,17 @@ var $nextmatchs; var $preferences; var $session; - var $msg; var $send; var $template; - var $todo; var $translation; var $utilities; var $vfs; + var $calendar; + var $msg; + + var $addressbook; + var $todo; // This is here so you can decied what the best way to handle bad sessions // You could redirect them to login.php with code 2 or use the default diff --git a/phpgwapi/inc/phpgw_addressbook.inc.php b/phpgwapi/inc/phpgw_addressbook.inc.php deleted file mode 100644 index 5a194ad410..0000000000 --- a/phpgwapi/inc/phpgw_addressbook.inc.php +++ /dev/null @@ -1,16 +0,0 @@ - * - * -------------------------------------------------------------- * - * This program is free software; you can redistribute it and/or modify it * - * under the terms of the GNU General Public License as published by the * - * Free Software Foundation; either version 2 of the License, or (at your * - * option) any later version. * - \**************************************************************************/ - - /* $Id$ */ -class todo -{ - var $projectid; - var $parent; - var $owner; - var $access; - var $desc; - var $priority; - var $status; - var $createdate; - var $customernr; - var $hours; - var $deadline; -// array $participants; - - var $db; // database handle - - //======================================== - // CONSTRUCTOR - //======================================== - function todo() - { - // dont know yet - } - - - //======================================== - // adds a project into database (API) - //======================================== - function addproject() - { - global $phpgw_info, $phpgw; - } - - //======================================== - // view project details (API) - //======================================== - function viewproject() - { - global $phpgw_info, $phpgw; - } - - //======================================== - // delete project (API) - //======================================== - function delproject() - { - global $phpgw_info, $phpgw; - } - - //======================================== - // add participant (API) - //======================================== - function addparticipant() - { - global $phpgw_info, $phpgw; - } - - // *************************************************** - // here we got helper methods for APIs - // *************************************************** - - // --------------------- - // helper 1 - //---------------------- - function helper1() - { - global $phpgw_info, $phpgw; - } -}