Skip to content

Commit

Permalink
Remove unnecessary action attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Jul 1, 2015
1 parent 666298b commit 43e059a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dispatcher/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ public function process() {
$doMethodCamel = "do" . ucfirst($action);

if(method_exists($logicObj, $doMethodUnderscore)) {
$logicObj->$doMethodUnderscore($action, $data);
$logicObj->$doMethodUnderscore($data);
}
else if(method_exists($logicObj, $doMethodCamel)) {
$logicObj->$doMethodCamel($action, $data);
$logicObj->$doMethodCamel($data);
}
}

Expand Down

0 comments on commit 43e059a

Please sign in to comment.