diff options
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/DBObject.pm | 18 | ||||
-rw-r--r-- | LedgerSMB/DBObject/Admin.pm | 2 |
2 files changed, 3 insertions, 17 deletions
diff --git a/LedgerSMB/DBObject.pm b/LedgerSMB/DBObject.pm index 657b30e5..f52724c7 100644 --- a/LedgerSMB/DBObject.pm +++ b/LedgerSMB/DBObject.pm @@ -23,10 +23,8 @@ this way as is any information that is needed. =item exec_method ($self, procname => $function_name, args => \@args) -=item set (@attrs) - -Copies the given key=>vars to $self. Allows for finer control of -merging hashes into self. +Provides the basic mapping of parameters to the SQL stored procedure function +arguments. =back @@ -283,16 +281,4 @@ sub _parse_array { return @return_array; } -sub set { - - my $self = shift @_; - my %args = @_; - - for my $arg (keys(%args)) { - $self->{$arg} = $args{$arg}; - } - return 1; - -} - 1; diff --git a/LedgerSMB/DBObject/Admin.pm b/LedgerSMB/DBObject/Admin.pm index 74ee238b..e09e1214 100644 --- a/LedgerSMB/DBObject/Admin.pm +++ b/LedgerSMB/DBObject/Admin.pm @@ -193,4 +193,4 @@ sub get_salutations { return $sth->fetchall_arrayref( {} ); } -1;
\ No newline at end of file +1; |