Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r9374: removing Pranama code

Committer: gariev
removing Pranama code
U   trunk/htdocs/create.bml
Modified: trunk/htdocs/create.bml
===================================================================
--- trunk/htdocs/create.bml	2010-08-23 06:02:14 UTC (rev 9373)
+++ trunk/htdocs/create.bml	2010-08-23 06:31:31 UTC (rev 9374)
@@ -17,8 +17,7 @@
     if ($GET{user}) {
         push @getargs, "user=$GET{user}";
     }
-    $headextra .= LJ::Widget::CreateAccount->pramanaHeadTagContent();
-	
+
     my $getextra = @getargs ? '?' . join('&', @getargs) : '';
 
     if ($LJ::USE_SSL && !$LJ::IS_SSL && $GET{ssl} ne "no") {
@@ -27,10 +26,7 @@
 
     my %from_post;
     if (LJ::did_post()) {
-    	my @creatAcctFormFields= qw(recaptcha_response_field recaptcha_challenge_field);
-	push(@creatAcctFormFields, qw(hpmxData lj_pramana_req_id)) if LJ::Widget::CreateAccount->pramanaDetectionEnabled(); 
-        
-        LJ::Widget->use_specific_form_fields( post => \%POST, widget => "CreateAccount", fields => \@creatAcctFormFields );
+        LJ::Widget->use_specific_form_fields( post => \%POST, widget => "CreateAccount", fields => [ qw( recaptcha_response_field recaptcha_challenge_field ) ] );
         %from_post = LJ::Widget->handle_post(\%POST, ( "CreateAccount", { get => \%GET, getextra => $getextra }));
     }
 

Tags: bml, gariev, ljcom
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