// Filled a default message in customer privacy #PSCFV-3471

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16676 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-03 07:56:35 +00:00
parent 2c960d9bee
commit a8263ee9ad
2 changed files with 8 additions and 1 deletions
@@ -49,7 +49,12 @@ class Blockcustomerprivacy extends Module
public function install()
{
return parent::install() && $this->registerHook('createAccountForm') && Configuration::updateValue('CUSTPRIV_MESSAGE', array());
$return = (parent::install() && $this->registerHook('createAccountForm'));
Configuration::updateValue('CUSTPRIV_MESSAGE', array($this->context->language->id =>
$this->l('The personal data you provide is used to answer to your queries, process your orders or allow you to access specific information.').' '.
$this->l('You have a right to modify and delete all the personal information which we hold concerning yourself in the "my account" page.')
));
return $return;
}
public function getContent()