getName() == 'table') {
$info = TableInfo::fromXML($tabledef);
$basename = $info->getName();
$infos[$basename] = $info;
}
if ($tabledef->getName() == 'view') {
$info = ViewInfo::fromXML($tabledef);
$basename = $info->getName();
$infos[$basename] = $info;
}
}
unset($info);
switch ($STEP) {
case 1:
echo '
';
// ### DROP TABLE/VIEW comments ###
$info = $infos['comments'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW contents ###
$info = $infos['contents'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW blocks ###
$info = $infos['blocks'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW moduleinstanceacls ###
$info = $infos['moduleinstanceacls'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW sysacls ###
$info = $infos['sysacls'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW acls ###
$info = $infos['acls'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW aclrolemembers ###
$info = $infos['aclrolemembers'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW aclroles ###
$info = $infos['aclroles'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accgrpaddons ###
$info = $infos['accgrpaddons'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groupmembers ###
$info = $infos['groupmembers'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW grouptextsettings ###
$info = $infos['grouptextsettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groupbinsettings ###
$info = $infos['groupbinsettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groupsettings ###
$info = $infos['groupsettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groups ###
$info = $infos['groups'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accounttextsettings ###
$info = $infos['accounttextsettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accountbinsettings ###
$info = $infos['accountbinsettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accountsettings ###
$info = $infos['accountsettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accounts ###
$info = $infos['accounts'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW menublocks ###
$info = $infos['menublocks'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW menuitems ###
$info = $infos['menuitems'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW menus ###
$info = $infos['menus'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW moduleinstances ###
$info = $infos['moduleinstances'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW dirurls ###
$info = $infos['dirurls'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW logs ###
$info = $infos['logs'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW installinfos ###
$info = $infos['installinfos'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW websitesettings ###
$info = $infos['websitesettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW websites ###
$info = $infos['websites'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW systemsettings ###
$info = $infos['systemsettings'];
echo '- '.$LANG->tr('will_drop_table',[$info->getName()])."
\n";
echo '
';
break;
case 2:
echo '';
// ### DROP TABLE/VIEW comments ###
$info = $infos['comments'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW contents ###
$info = $infos['contents'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW blocks ###
$info = $infos['blocks'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW moduleinstanceacls ###
$info = $infos['moduleinstanceacls'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW sysacls ###
$info = $infos['sysacls'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW acls ###
$info = $infos['acls'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW aclrolemembers ###
$info = $infos['aclrolemembers'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW aclroles ###
$info = $infos['aclroles'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accgrpaddons ###
$info = $infos['accgrpaddons'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groupmembers ###
$info = $infos['groupmembers'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW grouptextsettings ###
$info = $infos['grouptextsettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groupbinsettings ###
$info = $infos['groupbinsettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groupsettings ###
$info = $infos['groupsettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW groups ###
$info = $infos['groups'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accounttextsettings ###
$info = $infos['accounttextsettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accountbinsettings ###
$info = $infos['accountbinsettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accountsettings ###
$info = $infos['accountsettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW accounts ###
$info = $infos['accounts'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW menublocks ###
$info = $infos['menublocks'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW menuitems ###
$info = $infos['menuitems'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW menus ###
$info = $infos['menus'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW moduleinstances ###
$info = $infos['moduleinstances'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW dirurls ###
$info = $infos['dirurls'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW logs ###
$info = $infos['logs'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW installinfos ###
$info = $infos['installinfos'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW websitesettings ###
$info = $infos['websitesettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW websites ###
$info = $infos['websites'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
// ### DROP TABLE/VIEW systemsettings ###
$info = $infos['systemsettings'];
$db->dropTable($info->getName());
echo '- '.$LANG->tr('drop_table',[$info->getName()])."
\n";
echo '
';
break;
}