32 lines
700 B
PHP
32 lines
700 B
PHP
<?php
|
|
/**
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to a trade license awarded by
|
|
* Garamo Online L.T.D.
|
|
*
|
|
* Any use, reproduction, modification or distribution
|
|
* of this source file without the written consent of
|
|
* Garamo Online L.T.D It Is prohibited.
|
|
*
|
|
* @author Reaction Code <info@reactioncode.com>
|
|
* @copyright 2015-2020 Garamo Online L.T.D
|
|
* @license Commercial license
|
|
*/
|
|
|
|
function upgrade_module_4_1_2()
|
|
{
|
|
$remove_old_values = array(
|
|
'RC_PGANALYTICS_DEBUG'
|
|
);
|
|
|
|
// remove old values from db
|
|
foreach ($remove_old_values as $old_value) {
|
|
Configuration::deleteByName($old_value);
|
|
}
|
|
|
|
Media::clearCache();
|
|
|
|
return true;
|
|
}
|