Refactored VariableXxxxx.php as ConfigXxxx.php
This commit is contained in:
@@ -26,7 +26,7 @@ use Symfony\Component\Validator\Constraints;
|
||||
use Thelia\Model\ConfigQuery;
|
||||
use Symfony\Component\Validator\ExecutionContextInterface;
|
||||
|
||||
class VariableCreationForm extends BaseForm
|
||||
class ConfigCreationForm extends BaseForm
|
||||
{
|
||||
protected function buildForm($change_mode = false)
|
||||
{
|
||||
@@ -60,7 +60,7 @@ class VariableCreationForm extends BaseForm
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return "thelia_variable_creation";
|
||||
return "thelia_config_creation";
|
||||
}
|
||||
|
||||
public function checkDuplicateName($value, ExecutionContextInterface $context)
|
||||
@@ -27,7 +27,7 @@ use Thelia\Model\LangQuery;
|
||||
use Propel\Runtime\ActiveQuery\Criteria;
|
||||
use Symfony\Component\Validator\Constraints\GreaterThan;
|
||||
|
||||
class VariableModificationForm extends BaseDescForm
|
||||
class ConfigModificationForm extends BaseDescForm
|
||||
{
|
||||
protected function buildForm()
|
||||
{
|
||||
@@ -54,6 +54,6 @@ class VariableModificationForm extends BaseDescForm
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return "thelia_variable_modification";
|
||||
return "thelia_config_modification";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user