Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[bml] r114: First parameter ($r) of BML code block c...

Committer: dnikolaev
First parameter ($r) of BML code block call was removed.

U   branches/modernize2/lib/Apache/BML.pm
Modified: branches/modernize2/lib/Apache/BML.pm
===================================================================
--- branches/modernize2/lib/Apache/BML.pm	2010-01-19 12:02:43 UTC (rev 113)
+++ branches/modernize2/lib/Apache/BML.pm	2010-01-20 08:21:47 UTC (rev 114)
@@ -728,7 +728,7 @@
 
         my $cv = \&{"${md5_package}::${md5_handler}"};
         $req->{clean_package} = $md5_package;
-        my $ret = eval { $cv->($req, $req->{'scratch'}, $elhash || {}) };
+        my $ret = eval { $cv->($req->{'scratch'}, $elhash || {}) };
         return handle_code_error($env, $@) if $@;
 
         # don't call bml_decode if BML::noparse() told us not to, there's
@@ -1448,7 +1448,7 @@
 
 # FIXME: document the hooks
 sub parse_multipart_interactive {
-    my ($r, $errref, $hooks) = @_;
+    my ($errref, $hooks) = @_;
 
     # subref to set $@ and $$errref, then return false
     my $err = sub { $$errref = $@ = $_[0], return 0 };

Tags: bml, pm, wildkin
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