Merge pull request #570 from lovenunu/fix-update

Fix update and CS
This commit is contained in:
Manuel Raynaud
2014-08-06 09:52:44 +02:00
4 changed files with 6 additions and 7 deletions

View File

@@ -443,7 +443,6 @@ class ImportController extends BaseAdminController
$event = new UpdatePositionEvent($id, $this->getMode($mode), $value);
$this->dispatch(TheliaEvents::IMPORT_CHANGE_POSITION, $event);
return $this->render('import');
}

View File

@@ -25,6 +25,7 @@ use Symfony\Component\DependencyInjection\SimpleXMLElement;
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
use Symfony\Component\DependencyInjection\Loader\FileLoader;
use Thelia\Log\Tlog;
use Thelia\Model\Export;
use Thelia\Model\ExportCategory;
use Thelia\Model\ExportCategoryQuery;
@@ -369,7 +370,7 @@ class XmlFileLoader extends FileLoader
} catch (\Exception $e) {
$con->rollBack();
throw $e;
Tlog::getInstance()->error($e->getMessage());
}
}
@@ -450,7 +451,7 @@ class XmlFileLoader extends FileLoader
} catch (\Exception $e) {
$con->rollBack();
throw $e;
Tlog::getInstance()->error($e->getMessage());
}
}
@@ -497,7 +498,7 @@ class XmlFileLoader extends FileLoader
} catch (\Exception $e) {
$con->rollBack();
throw $e;
Tlog::getInstance()->error($e->getMessage());
}
}
@@ -577,7 +578,7 @@ class XmlFileLoader extends FileLoader
} catch (\Exception $e) {
$con->rollBack();
throw $e;
Tlog::getInstance()->error($e->getMessage());
}
}

View File

@@ -169,7 +169,7 @@ class CustomerUpdateForm extends BaseForm
'label_attr' => array(
'for' => 'reseller'
)
))
))
;
}

View File

@@ -92,7 +92,6 @@ class Export extends BaseExport
return true;
}
public function addCriteriaToPositionQuery($query)
{
$query->filterByExportCategoryId($this->getExportCategoryId());