first round of changes for the new session system
This commit is contained in:
parent
da95226072
commit
d4b7f2ce59
128 changed files with 2442 additions and 1478 deletions
|
|
@ -11,7 +11,6 @@ package WebGUI::Macro::Quote;
|
|||
#-------------------------------------------------------------------
|
||||
|
||||
use strict;
|
||||
use WebGUI::SQL;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
@ -23,7 +22,7 @@ Macro for quoting data to make it safe for use in SQL queries.
|
|||
|
||||
=head2 process ( text )
|
||||
|
||||
process is really a wrapper around WebGUI::SQL::quote();
|
||||
process is really a wrapper around WebGUI::SQL::$session->db->quote();
|
||||
|
||||
=head3 text
|
||||
|
||||
|
|
@ -33,7 +32,8 @@ The text to quote.
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
return quote(shift);
|
||||
my $session = shift;
|
||||
return $session->db->quote(shift);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue