Revert "Bug 7785: Remove unused function columns() which uses a MySQLism."

This reverts commit 1c8df08aea.

See:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7785#c5
and
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7975

This patch broke tools/import_borrowers.pl

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Paul Poulain 2012-04-19 10:21:47 +02:00
parent 452b81f769
commit 90d13965d3

View file

@ -692,6 +692,10 @@ sub GetMemberIssuesAndFines {
return ($overdue_count, $issue_count, $total_fines);
}
sub columns(;$) {
return @{C4::Context->dbh->selectcol_arrayref("SHOW columns from borrowers")};
}
=head2 ModMember
my $success = ModMember(borrowernumber => $borrowernumber,