<?php
//Copyright (c) Florian Grannemann
//Last change in version: 2.1 Alpha 3
/*
******************************************************************************
ADbNewsSender 2
Copyright (C) 2010 Florian Grannemann (hide@address.com)
Website: http://adbnewssender.sf.net
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/
******************************************************************************
*/
//Do not edit anything unless you REALY know what you are doing!
//doing some update jobs...
//upgrades for version 2.1.0
if($MyCFG->main_version_is_equal("2.0.0"))
{
$MyCFG->replace_setting("UseTimeZone","default");
$MyCFG->replace_setting("PauseNLSendProcessEvery","-1");
$MyCFG->replace_setting("PauseNLSendProcessTime","10");
$allNewsletters=array();
$allNewsletters=$MyCFG->get_all_newsletters();
$i=0;
while($i < count($allNewsletters))
{
$MyDB->rename_table("ADBNS2_Maillinglist_".$allNewsletters[$i],"ADBNS2_Mailinglist_".$allNewsletters[$i]);
$i++;
}
}
?>