fix link for authorizing infinite sessions
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 1 May 2010 21:01:14 +0000 (17:01 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 1 May 2010 21:01:14 +0000 (17:01 -0400)
horde/lib/Prefs/Ui.php
horde/templates/prefs/facebook.html

index cc87fba..9e3eb6a 100644 (file)
@@ -523,8 +523,6 @@ class Horde_Prefs_Ui
                 $notify->push(_("Temporarily unable to connect with Facebook, Please try again."), 'horde.alert');
             }
             /* URL links */
-            $url = Horde_Util::addParameter(Horde::selfUrl(true), array('action' => 'revokeApplication'));
-            $t->set('offline_url', Horde::signQueryString($url));
             $t->set('have_session', true);
             $t->set('user_pic_url', $user_info[0]['pic_with_logo']);
             $t->set('user_name', $user_info[0]['first_name'] . ' ' . $user_info[0]['last_name']);
index 755a260..9f2f509 100644 (file)
@@ -12,7 +12,7 @@
     <else:have_offline>
      <div class="fbbluebox">
       <tag:app_name /><gettext> can interact with your Facebook account, but you must login to Facebook manually each time.</gettext>
-      <div class="fbaction"><gettext>Authorize an infinite session:</gettext><a class="fbbutton" href="<tag:offline_url />">Facebook</a></div>
+      <div class="fbaction"><gettext>Authorize an infinite session:</gettext><a class="fbbutton" href="<tag:auth_url />">Facebook</a></div>
      </div>
     </else:have_offline>
     </if:have_offline>