roykin/modules/blocksocial/upgrade/install-1.1.4.php

12 lines
521 B
PHP
Raw Normal View History

2016-03-03 10:33:17 +01:00
<?php
if (!defined('_PS_VERSION_'))
exit;
function upgrade_module_1_1_4($object)
{
Db::getInstance()->execute('UPDATE `'._DB_PREFIX_.'configuration` SET name = \'BLOCKSOCIAL_FACEBOOK\' WHERE name = \'blocksocial_facebook\'');
Db::getInstance()->execute('UPDATE `'._DB_PREFIX_.'configuration` SET name = \'BLOCKSOCIAL_TWITTER\' WHERE name = \'blocksocial_twitter\'');
Db::getInstance()->execute('UPDATE `'._DB_PREFIX_.'configuration` SET name = \'BLOCKSOCIAL_RSS\' WHERE name = \'blocksocial_rss\'');
return true;
}