From 96c89b8441f666da4693e8404e3a7213c2700d01 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 30 Mar 2016 18:53:59 +0800 Subject: [PATCH] RooGetTrait.php --- RooGetTrait.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/RooGetTrait.php b/RooGetTrait.php index 007958b0..3868e7bd 100644 --- a/RooGetTrait.php +++ b/RooGetTrait.php @@ -482,22 +482,11 @@ trait Pman_Core_RooGetTrait { $x->setFrom($q_filtered); } - - - - // nice generic -- let's get rid of it.. where is it used!!!! - // used by: - // Person / Group / Comapnies.... most of my queries noww... if (!empty($q['query']['name'])) { - - if (in_array( 'name', array_keys($x->table()))) { $x->whereAdd($x->tableName().".name LIKE '". $x->escape($q['query']['name']) . "%'"); } } - // - projectdirectory staff list - persn queuy - - } } -- 2.39.2