lots of operation and auth fixes.

This commit is contained in:
Matthew Wilson 2006-01-19 03:07:34 +00:00
parent 1ab3df1f30
commit 150087f703
19 changed files with 71 additions and 68 deletions

View file

@ -200,7 +200,7 @@ The namespace of the plugin.
sub init {
my ($class, $session, $namespace, $properties);
$class = shift;
$session = shift;
$session = shift; use WebGUI; WebGUI::dumpSession($session);
$namespace = shift;
$properties = $session->db->buildHashRef("select fieldName, fieldValue from commerceSettings where namespace=".$session->db->quote($namespace)." and type='Payment'");

View file

@ -501,8 +501,8 @@ sub confirmTransaction {
sub init {
my ($class, $self);
$class = shift;
$self = $class->SUPER::init('ITransact');
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
$self = $class->SUPER::init($session,'ITransact');
return $self;
}