aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/metadata.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index a19e20ea0..d0ab818b9 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -691,13 +691,6 @@ function elgg_get_entity_metadata_where_sql($table, $names = NULL, $values = NUL
// add pairs
// pairs must be in arrays.
if (is_array($pairs)) {
- $array = array(
- 'name' => 'test',
- 'value' => 5
- );
-
- $array = array('test' => 5);
-
// check if this is an array of pairs or just a single pair.
if (isset($pairs['name']) || isset($pairs['value'])) {
$pairs = array($pairs);