[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3567] trunk/LedgerSMB/Form.pm



Revision: 3567
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3567&view=rev
Author:   ehuelsmann
Date:     2011-07-26 12:52:25 +0000 (Tue, 26 Jul 2011)

Log Message:
-----------
Fix references to non-existing function by implementing that function.

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2011-07-26 00:27:30 UTC (rev 3566)
+++ trunk/LedgerSMB/Form.pm	2011-07-26 12:52:25 UTC (rev 3567)
@@ -452,6 +452,21 @@
     }
 }
 
+=item $form->finalize_request();
+
+Stops further processing, allowing post-request cleanup on intermediate
+levels by throwing an exception.
+
+This function replaces explicit 'exit()' calls.
+
+=cut
+
+sub finalize_request {
+    LedgerSMB::finalize_request();
+}
+
+
+
 =item $form->info($msg);
 
 Output an informational message, $msg.  If a CGI environment is detected, this


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.