Finished admin controllers refactoriing

This commit is contained in:
franck
2013-09-12 13:39:47 +02:00
parent 14e0eff0f5
commit 3f82421879
22 changed files with 2048 additions and 923 deletions

View File

@@ -166,8 +166,6 @@ class Currency extends BaseAction implements EventSubscriberInterface
*/
public function updatePosition(UpdatePositionEvent $event)
{
echo "update =".$event->getObjectId();
if (null !== $currency = CurrencyQuery::create()->findPk($event->getObjectId())) {
$currency->setDispatcher($this->getDispatcher());
@@ -182,7 +180,6 @@ echo "update =".$event->getObjectId();
else if ($mode == UpdatePositionEvent::POSITION_DOWN)
return $currency->movePositionDown();
}
exit;
}
/**