mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 22:51:59 +01:00
Removed unused $search_cond variable
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
689a06cfa4
commit
01c896e281
@ -144,10 +144,6 @@ class ModelAccountingAccounting extends Model {
|
||||
|
||||
$search = preg_replace("/\s{1,}/", "", $search);
|
||||
|
||||
if($search) {
|
||||
$search_cond .= " AND ( `email` LIKE '%".$search."%' OR `domain` LIKE '%".$search."%' )";
|
||||
}
|
||||
|
||||
$query = "SELECT `email` AS `item`, MIN(`date`) AS `oldest`, MAX(`date`) AS `newest`, SUM(`sent`) AS `sent`, SUM(`recd`) AS `recd`, SUM(`sentsize`) AS `sentsize`, SUM(`recdsize`) AS `recdsize` FROM " . TABLE_STAT_COUNTER;
|
||||
|
||||
if($item == 'email') {
|
||||
|
Loading…
Reference in New Issue
Block a user