removal of dumpSession.
This commit is contained in:
parent
7d1dfed519
commit
4a3121960f
199 changed files with 379 additions and 404 deletions
|
|
@ -200,7 +200,7 @@ The namespace of the plugin.
|
|||
sub init {
|
||||
my ($class, $session, $namespace, $properties);
|
||||
$class = shift;
|
||||
$session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
$session = shift;
|
||||
$namespace = shift;
|
||||
|
||||
$properties = $session->db->buildHashRef("select fieldName, fieldValue from commerceSettings where namespace=".$session->db->quote($namespace)." and type='Payment'");
|
||||
|
|
@ -280,7 +280,7 @@ The namespace of the plugin.
|
|||
sub load {
|
||||
my ($class, $namespace, $load, $cmd, $plugin);
|
||||
$class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
$namespace = shift;
|
||||
|
||||
$cmd = "WebGUI::Commerce::Payment::$namespace";
|
||||
|
|
|
|||
|
|
@ -501,7 +501,7 @@ sub confirmTransaction {
|
|||
sub init {
|
||||
my ($class, $self);
|
||||
$class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
$self = $class->SUPER::init($session,'ITransact');
|
||||
|
||||
return $self;
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ The namespace of the plugin.
|
|||
sub load {
|
||||
my ($class, $namespace, $load, $cmd, $plugin);
|
||||
$class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
$namespace = shift;
|
||||
|
||||
$session->errorHandler->fatal('No namespace passed to load.') unless ($namespace);
|
||||
|
|
|
|||
|
|
@ -414,7 +414,7 @@ sub new {
|
|||
my ($class, $transactionId, $gatewayId, $userId, $properties, $sth, $row, @items);
|
||||
|
||||
$class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
$transactionId = shift;
|
||||
$gatewayId = shift;
|
||||
$userId = shift || $session->user->userId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue