From 4f353bf0d753fc16224fb12a24933143b0bb4a38 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 29 Apr 2007 12:09:39 +0000 Subject: [PATCH] removed not used sofilemanager class --- filemanager/inc/class.bofilemanager.inc.php | 3 -- filemanager/inc/class.sofilemanager.inc.php | 54 --------------------- 2 files changed, 57 deletions(-) delete mode 100755 filemanager/inc/class.sofilemanager.inc.php diff --git a/filemanager/inc/class.bofilemanager.inc.php b/filemanager/inc/class.bofilemanager.inc.php index f1b7d411e8..35c91a5d25 100755 --- a/filemanager/inc/class.bofilemanager.inc.php +++ b/filemanager/inc/class.bofilemanager.inc.php @@ -34,9 +34,6 @@ function bofilemanager() { - $this->so =& CreateObject('filemanager.sofilemanager'); - $this->so->db_init(); - $this->vfs =& CreateObject('phpgwapi.vfs'); error_reporting(4); diff --git a/filemanager/inc/class.sofilemanager.inc.php b/filemanager/inc/class.sofilemanager.inc.php deleted file mode 100755 index 99639c4ee4..0000000000 --- a/filemanager/inc/class.sofilemanager.inc.php +++ /dev/null @@ -1,54 +0,0 @@ -db = clone($GLOBALS['egw']->db); - } - - /* Any initializations that need to be done */ - function db_init() - { - $this->db->Auto_Free = 0; - } - - /* General SQL query */ - function db_query($query) - { - - return $this->db->query($query); - } - - /* Fetch next array for $query_id */ - function db_fetch_array($query_id) - { - // $egw->db->Query_ID = $query_id; - $this->db->next_record(); - return $this->db->Record; - } - - /* - General wrapper for all other db calls - Calls in here are simply returned, so not all will work - */ - function db_call($function, $query_id) - { - // $egw->db->Query_ID = $query_id; - return $this->db->$function(); - } - } -?>