Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r11189: LJSUP-10425 (create identities access ke...

Committer: ailyin
LJSUP-10425 (create identities access keys for ljdev5c)
U   trunk/cgi-bin/LJ/Console/Command/CheckToken.pm
U   trunk/cgi-bin/LJ/Identity/Facebook.pm
U   trunk/htdocs/manage/settings/facebook.bml
Modified: trunk/cgi-bin/LJ/Console/Command/CheckToken.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/CheckToken.pm	2011-11-16 09:47:45 UTC (rev 11188)
+++ trunk/cgi-bin/LJ/Console/Command/CheckToken.pm	2011-11-16 11:40:15 UTC (rev 11189)
@@ -52,7 +52,7 @@
     $username = $u->username;
 
     if ( $type eq 'facebook' ) {
-        unless ($LJ::FACEBOOK_CONNECT_API_KEY) {
+        unless ($LJ::FACEBOOK_CONNECT_CLIENT_ID) {
             return $self->error("$type is disabled on this server");
         }
 

Modified: trunk/cgi-bin/LJ/Identity/Facebook.pm
===================================================================
--- trunk/cgi-bin/LJ/Identity/Facebook.pm	2011-11-16 09:47:45 UTC (rev 11188)
+++ trunk/cgi-bin/LJ/Identity/Facebook.pm	2011-11-16 11:40:15 UTC (rev 11189)
@@ -18,7 +18,7 @@
 
 sub enabled {
     return LJ::is_enabled('facebook_auth')
-        && $LJ::FACEBOOK_CONNECT_API_KEY;
+        && $LJ::FACEBOOK_CONNECT_CLIENT_ID;
 }
 
 my @request_permissions = qw( publish_stream offline_access email

Modified: trunk/htdocs/manage/settings/facebook.bml
===================================================================
--- trunk/htdocs/manage/settings/facebook.bml	2011-11-16 09:47:45 UTC (rev 11188)
+++ trunk/htdocs/manage/settings/facebook.bml	2011-11-16 11:40:15 UTC (rev 11189)
@@ -15,7 +15,7 @@
 
     # the feature is disabled, go away
     unless (     LJ::is_enabled('repost_facebook')
-             && $LJ::FACEBOOK_CONNECT_API_KEY)
+             && $LJ::FACEBOOK_CONNECT_CLIENT_ID )
     {
         return 'This feature is disabled.';
     }

Tags: ailyin, andy, bml, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments