forked from extern/egroupware
removed not used sofilemanager class
This commit is contained in:
parent
8d5370febe
commit
4f353bf0d7
@ -34,9 +34,6 @@
|
||||
|
||||
function bofilemanager()
|
||||
{
|
||||
$this->so =& CreateObject('filemanager.sofilemanager');
|
||||
$this->so->db_init();
|
||||
|
||||
$this->vfs =& CreateObject('phpgwapi.vfs');
|
||||
|
||||
error_reporting(4);
|
||||
|
@ -1,54 +0,0 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Filemanager *
|
||||
* http://www.egroupware.org *
|
||||
* ------------------------------------------------------------------------ *
|
||||
* 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 sofilemanager
|
||||
{
|
||||
var $db;
|
||||
|
||||
function sofilemanager()
|
||||
{
|
||||
$this->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();
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user