Convert PassiveAnalytics over to Moose.
This commit is contained in:
parent
882317c2c9
commit
9832f38a93
4 changed files with 27 additions and 60 deletions
|
|
@ -269,7 +269,7 @@ sub www_editRule {
|
|||
else {
|
||||
##We need a temporary rule so that we can call dynamicForm, below
|
||||
$ruleId = 'new';
|
||||
$rule = WebGUI::PassiveAnalytics::Rule->create($session, {});
|
||||
$rule = WebGUI::PassiveAnalytics::Rule->new($session, {});
|
||||
}
|
||||
|
||||
##Build the form
|
||||
|
|
@ -315,7 +315,7 @@ sub www_editRuleSave {
|
|||
my $ruleId = $form->get('ruleId');
|
||||
my $rule;
|
||||
if ($ruleId eq 'new') {
|
||||
$rule = WebGUI::PassiveAnalytics::Rule->create($session, {});
|
||||
$rule = WebGUI::PassiveAnalytics::Rule->new($session, {});
|
||||
}
|
||||
else {
|
||||
$rule = WebGUI::PassiveAnalytics::Rule->new($session, $ruleId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue