From: edward Date: Wed, 30 Mar 2016 10:53:59 +0000 (+0800) Subject: RooGetTrait.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=96c89b8441f666da4693e8404e3a7213c2700d01 RooGetTrait.php --- 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 - - } }