Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aea70f5

Browse files
committed
Remove some unuseful variables
1 parent 8a901c4 commit aea70f5

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

db_qbe.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -259,20 +259,13 @@
259259

260260
// We only start this if we have fields, otherwise it would be dumb
261261
foreach ($criteriaColumn as $value) {
262-
$parts = explode('.', $value);
262+
$parts = explode('.', $value);
263263
if (! empty($parts[0]) && ! empty($parts[1])) {
264-
$tab_raw = $parts[0];
265-
$table = str_replace('`', '', $tab_raw);
264+
$table = str_replace('`', '', $parts[0]);
266265
$all_tables[$table] = $table;
267-
268-
$col_raw = $parts[1];
269-
$all_columns[] = $table . '.' . str_replace('`', '', $col_raw);
266+
$all_columns[] = $table . '.' . str_replace('`', '', $parts[1]);
270267
}
271268
} // end while
272-
// Cleans temp vars w/o further use
273-
unset($tab_raw);
274-
unset($col_raw);
275-
unset($col1);
276269

277270
// Check 'where' clauses
278271
if ($cfgRelation['relwork'] && count($all_tables) > 0) {

0 commit comments

Comments
 (0)