Remove debug cruft

git-svn-id: http://svn.automattic.com/wordpress/trunk@7742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-18 20:06:46 +00:00
parent 80fbb3b27d
commit 14ed05e98b

View File

@ -157,7 +157,7 @@ function get_usermeta( $user_id, $meta_key = '') {
} else {
$metas = $wpdb->get_col( $wpdb->prepare("SELECT meta_value FROM $wpdb->usermeta WHERE user_id = %d", $user_id) );
}
error_log("$meta_key: " . var_export($metas, true), 0);
if ( empty($metas) ) {
if ( empty($meta_key) )
return array();