[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6527] trunk/LedgerSMB.pm
- Subject: SF.net SVN: ledger-smb:[6527] trunk/LedgerSMB.pm
- From: ..hidden..
- Date: Sat, 18 Jan 2014 12:21:06 +0000
Revision: 6527
http://sourceforge.net/p/ledger-smb/code/6527
Author: einhverfr
Date: 2014-01-18 12:21:05 +0000 (Sat, 18 Jan 2014)
Log Message:
-----------
Removing the last of the low hangling fruit regarding unused LedgerSMB functions
Modified Paths:
--------------
trunk/LedgerSMB.pm
Modified: trunk/LedgerSMB.pm
===================================================================
--- trunk/LedgerSMB.pm 2014-01-18 12:17:33 UTC (rev 6526)
+++ trunk/LedgerSMB.pm 2014-01-18 12:21:05 UTC (rev 6527)
@@ -37,14 +37,6 @@
Identical with check_form() above, but also removes the form_id from the
session. This should be used when back-button actions are not valid.
-=item escape (string => $string);
-
-This function returns the current string escaped using %hexhex notation.
-
-=item unescape (string => $string);
-
-This function returns the $string encoded using %hexhex using ordinary notation.
-
=item format_amount (user => $LedgerSMB::User::hash, amount => $string, precision => $integer, neg_format => (-|DRCR));
The function takes a monetary amount and formats it according to the user
@@ -426,17 +418,7 @@
die;
}
-sub escape {
- my $self = shift;
- my %args = @_;
- my $str = $args{string};
- $str = "" unless defined $str;
- my $regex = qr/([^a-zA-Z0-9_.-])/;
- $str =~ s/$regex/sprintf("%%%02x", ord($1))/ge;
- return $str;
-}
-
sub is_blank {
my $self = shift @_;
my %args = @_;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits