From f0186ae3ee85c6c7644e967b9401b535058a098f Mon Sep 17 00:00:00 2001 From: tomas Date: Wed, 22 Dec 2004 03:32:53 +0000 Subject: [PATCH] sorry - there were wrong commit ... --- .../modules/storageServer/var/BasicStor.php | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/livesupport/modules/storageServer/var/BasicStor.php b/livesupport/modules/storageServer/var/BasicStor.php index 74d2ac5f8..7f9d31e37 100644 --- a/livesupport/modules/storageServer/var/BasicStor.php +++ b/livesupport/modules/storageServer/var/BasicStor.php @@ -23,7 +23,7 @@ Author : $Author: tomas $ - Version : $Revision: 1.2 $ + Version : $Revision: 1.3 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/BasicStor.php,v $ ------------------------------------------------------------------------------*/ @@ -48,7 +48,7 @@ require_once "Transport.php"; * Core of LiveSupport file storage module * * @author $Author: tomas $ - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @see Alib */ class BasicStor extends Alib{ @@ -544,18 +544,6 @@ class BasicStor extends Alib{ */ function bsLocalSearch($criteria) { - $ops = array('full'=>"like '%s'", 'partial'=>"like '%%%s%%'", 'prefix'=>"like '%s%%'", - '<'=>"< '%s'", '='=>"= '%s'", '>'=>"> '%s'", '<='=>"<= '%s'", '>='=>">= '%s'" - ); -# var_dump($criteria); - $type = $criteria['type']; - $conds = $criteria['conds']; - foreach($conds as $cond){ - $cat = $cond['cat']; - $opVal = sprintf($ops[$cond['op']], $cond['val']); - $sqlCond = "$cat $opVal"; - echo "$sqlCond\n"; - } $ftsrch = $criteria; $res = $this->dbc->getCol("SELECT md.gunid as gunid FROM {$this->filesTable} f, {$this->mdataTable} md