Commit 1358ec47 authored by Laurent's avatar Laurent

hotfix patch 386 to comply with current practices

parent 9802b6f4
Pipeline #10029 passed with stage
in 46 minutes and 41 seconds
<?php
$sql = Zend_Registry::get('sql');
$sql->query('alter table newsletters add column `mail_subject` varchar(255) default \'\'');
$sql->query('update newsletters set mail_subject=titre');
$adapter = Zend_Db_Table_Abstract::getDefaultAdapter();
try {
$adapter->query('alter table newsletters add column `mail_subject` varchar(255) default \'\'');
$adapter->query('update newsletters set mail_subject=titre');
} catch(Exception $e) {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment