]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Removed debug data.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 31 Dec 2009 03:57:18 +0000 (03:57 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 31 Dec 2009 03:57:18 +0000 (03:57 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3782 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/metadata.php

index a19e20ea0d6a719e8f7d4ef6fdd4cdce4edb4842..d0ab818b9992265ab51f0e983dc118c578ed514a 100644 (file)
@@ -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);