engine/classes/Elgg/Database/EntityTable.php 1 location
|
@@ 385-391 (lines=7) @@
|
| 382 |
|
|
| 383 |
|
// see if any functions failed |
| 384 |
|
// remove empty strings on successful functions |
| 385 |
|
foreach ($wheres as $i => $where) { |
| 386 |
|
if ($where === false) { |
| 387 |
|
return false; |
| 388 |
|
} elseif (empty($where)) { |
| 389 |
|
unset($wheres[$i]); |
| 390 |
|
} |
| 391 |
|
} |
| 392 |
|
|
| 393 |
|
// remove identical where clauses |
| 394 |
|
$wheres = array_unique($wheres); |
engine/lib/metastrings.php 1 location
|
@@ 202-208 (lines=7) @@
|
| 199 |
|
|
| 200 |
|
// see if any functions failed |
| 201 |
|
// remove empty strings on successful functions |
| 202 |
|
foreach ($wheres as $i => $where) { |
| 203 |
|
if ($where === false) { |
| 204 |
|
return false; |
| 205 |
|
} elseif (empty($where)) { |
| 206 |
|
unset($wheres[$i]); |
| 207 |
|
} |
| 208 |
|
} |
| 209 |
|
|
| 210 |
|
// remove identical where clauses |
| 211 |
|
$wheres = array_unique($wheres); |
engine/lib/river.php 2 locations
|
@@ 215-221 (lines=7) @@
|
| 212 |
|
|
| 213 |
|
// see if any functions failed |
| 214 |
|
// remove empty strings on successful functions |
| 215 |
|
foreach ($wheres as $i => $where) { |
| 216 |
|
if ($where === false) { |
| 217 |
|
return false; |
| 218 |
|
} elseif (empty($where)) { |
| 219 |
|
unset($wheres[$i]); |
| 220 |
|
} |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
// remove identical where clauses |
| 224 |
|
$wheres = array_unique($wheres); |
|
@@ 377-383 (lines=7) @@
|
| 374 |
|
|
| 375 |
|
// see if any functions failed |
| 376 |
|
// remove empty strings on successful functions |
| 377 |
|
foreach ($wheres as $i => $where) { |
| 378 |
|
if ($where === false) { |
| 379 |
|
return false; |
| 380 |
|
} elseif (empty($where)) { |
| 381 |
|
unset($wheres[$i]); |
| 382 |
|
} |
| 383 |
|
} |
| 384 |
|
|
| 385 |
|
// remove identical where clauses |
| 386 |
|
$wheres = array_unique($wheres); |
engine/lib/tags.php 1 location
|
@@ 149-155 (lines=7) @@
|
| 146 |
|
|
| 147 |
|
// see if any functions failed |
| 148 |
|
// remove empty strings on successful functions |
| 149 |
|
foreach ($wheres as $i => $where) { |
| 150 |
|
if ($where === false) { |
| 151 |
|
return false; |
| 152 |
|
} elseif (empty($where)) { |
| 153 |
|
unset($wheres[$i]); |
| 154 |
|
} |
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
// remove identical where clauses |
| 158 |
|
$wheres = array_unique($wheres); |
mod/elgg_solr/lib/functions.php 2 locations
|
@@ 1302-1308 (lines=7) @@
|
| 1299 |
|
|
| 1300 |
|
// see if any functions failed |
| 1301 |
|
// remove empty strings on successful functions |
| 1302 |
|
foreach ($wheres as $i => $where) { |
| 1303 |
|
if ($where === FALSE) { |
| 1304 |
|
return FALSE; |
| 1305 |
|
} elseif (empty($where)) { |
| 1306 |
|
unset($wheres[$i]); |
| 1307 |
|
} |
| 1308 |
|
} |
| 1309 |
|
|
| 1310 |
|
// remove identical where clauses |
| 1311 |
|
$wheres = array_unique($wheres); |
|
@@ 1454-1460 (lines=7) @@
|
| 1451 |
|
|
| 1452 |
|
// see if any functions failed |
| 1453 |
|
// remove empty strings on successful functions |
| 1454 |
|
foreach ($wheres as $i => $where) { |
| 1455 |
|
if ($where === false) { |
| 1456 |
|
return false; |
| 1457 |
|
} elseif (empty($where)) { |
| 1458 |
|
unset($wheres[$i]); |
| 1459 |
|
} |
| 1460 |
|
} |
| 1461 |
|
|
| 1462 |
|
// remove identical where clauses |
| 1463 |
|
$wheres = array_unique($wheres); |