aboutsummaryrefslogtreecommitdiff
path: root/mod/likes/views/default
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-04-15 18:39:38 -0700
committerEvan Winslow <evan@elgg.org>2012-04-15 18:39:38 -0700
commitf2a80038cddec5ed86b3dd9edb31cf07e3376de8 (patch)
treee778a5b957637729615ab1e0c82d312663303f17 /mod/likes/views/default
parent65e8fcbb38357979067cda757257d71ef261d6d4 (diff)
downloadelgg-f2a80038cddec5ed86b3dd9edb31cf07e3376de8.tar.gz
elgg-f2a80038cddec5ed86b3dd9edb31cf07e3376de8.tar.bz2
Removes superfluous array declaration
Diffstat (limited to 'mod/likes/views/default')
-rw-r--r--mod/likes/views/default/likes/button.php5
1 files changed, 0 insertions, 5 deletions
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,