From f2a80038cddec5ed86b3dd9edb31cf07e3376de8 Mon Sep 17 00:00:00 2001 From: Evan Winslow Date: Sun, 15 Apr 2012 18:39:38 -0700 Subject: Removes superfluous array declaration --- mod/likes/views/default/likes/button.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mod/likes/views') diff --git a/mod/likes/views/default/likes/button.php b/mod/likes/views/default/likes/button.php index 3f2f073cc..bc7c8fd8a 100644 --- a/mod/likes/views/default/likes/button.php +++ b/mod/likes/views/default/likes/button.php @@ -24,11 +24,6 @@ if (elgg_is_logged_in() && $vars['entity']->canAnnotate(0, 'likes')) { ); $likes_button = elgg_view('output/url', $params); } else { - $options = array( - 'guid' => $guid, - 'annotation_name' => 'likes', - 'owner_guid' => elgg_get_logged_in_user_guid() - ); $url = elgg_get_site_url() . "action/likes/delete?guid={$guid}"; $params = array( 'href' => $url, -- cgit v1.2.3