]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Removes superfluous array declaration
authorEvan Winslow <evan@elgg.org>
Mon, 16 Apr 2012 01:39:38 +0000 (18:39 -0700)
committerEvan Winslow <evan@elgg.org>
Mon, 16 Apr 2012 01:39:38 +0000 (18:39 -0700)
mod/likes/views/default/likes/button.php

index 3f2f073ccb262f5e0c794536cbe50c1a69bb9232..bc7c8fd8a7089444d41e05665f2db7ea8d41abaa 100644 (file)
@@ -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,