summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Form.pm')
-rw-r--r--LedgerSMB/Form.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 059b7b99..39648086 100644
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -2058,8 +2058,7 @@ sub all_languages {
Populates the hash $form->{all_month} with a mapping between a two-digit month
number and the English month name. Populates the list $form->{all_years} with
-the years between the year of the oldest transaction date in acc_trans and the
-newest, inclusive.
+all years which contain transactions.
$dbh2 is unused.
@@ -2067,7 +2066,7 @@ $dbh2 is unused.
sub all_years {
- my ( $self, $myconfig, $dbh2 ) = @_;
+ my ( $self, $myconfig ) = @_;
my $dbh = $self->{dbh};
$self->{all_years} = [];