<?php
$config->proVersion['pro1_0_beta'] = '3_2_1';
$config->proVersion['pro1_0']      = '3_3';
$config->proVersion['pro1_1']      = '3_4';
$config->proVersion['pro1_2']      = '3_5';
$config->proVersion['pro1_3']      = '3_6';
$config->proVersion['pro1_4']      = '3_7';
$config->proVersion['pro2_0']      = '3_7';
$config->proVersion['pro2_1']      = '4_1';
$config->proVersion['pro2_2']      = '4_2_1';
$config->proVersion['pro2_2_1']    = '4_2_2';
$config->proVersion['pro2_2_2']    = '4_2_3';
$config->proVersion['pro2_3']      = '4_4';
$config->proVersion['pro2_3_1']    = '4_5';
$config->proVersion['pro2_4']      = '4_5';
$config->proVersion['pro2_5']      = '4_6_1';
$config->proVersion['pro2_5_1']    = '4_6_3';
$config->proVersion['pro2_6']      = '4_7';
$config->proVersion['pro2_7']      = '4_8';
$config->proVersion['pro2_8']      = '5_1';
$config->proVersion['pro3_0']      = '5_2';
$config->proVersion['pro3_0_1']    = '5_2';
$config->proVersion['pro3_1']      = '5_2';
$config->proVersion['biz4_0']      = '6_0';
$config->proVersion['biz4_1']      = '6_0.1';
$config->proVersion['biz5_0_1']    = '6_1';
$config->proVersion['biz5_1']      = '6_2';

$config->delete['pro1_1'][] = 'app/cash/trade/ext/control/exportdetail.php';
$config->delete['pro1_1'][] = 'app/cash/trade/ext/css/compare/bizext.css';
$config->delete['pro1_1'][] = 'app/cash/trade/ext/view/browse.report.html.hook.php';
$config->delete['pro1_1'][] = 'app/cash/trade/ext/view/compare.html.php';
$config->delete['pro1_1'][] = 'app/cash/trade/ext/view/exportdetail.html.php';
$config->delete['pro1_1'][] = 'app/cash/trade/ext/view/report.html.php';
$config->delete['pro1_1'][] = 'app/sys/report/ext/config/bizext.php';
$config->delete['pro1_1'][] = 'app/sys/report/ext/js/browse/bizext.js';
$config->delete['pro1_1'][] = 'app/sys/report/ext/lang/en/bizext.php';
$config->delete['pro1_1'][] = 'app/sys/report/ext/lang/zh-cn/bizext.php';
$config->delete['pro1_1'][] = 'app/sys/report/ext/lang/zh-tw/bizext.php';
$config->delete['pro1_1'][] = 'app/sys/report/ext/model/bizext.php';
$config->delete['pro1_1'][] = 'app/sys/report/ext/model/class/bizext.class.php';
$config->delete['pro1_1'][] = 'app/sys/report/ext/view/browse.html.php';

$config->delete['pro1_2'][] = 'app/crm/product/ext/view/browse.html.php';

/* Keep this code be commented. */
//$config->delete['pro1_3'][] = 'app/sys/upgrade/ext/control/execute.php';

$config->delete['pro2_2'][] = 'app/psi/block/view/orderblock.html.php';
$config->delete['pro2_2'][] = 'app/psi/block/view/contractblock.html.php';
$config->delete['pro2_2'][] = 'app/psi/block/view/customerblock.html.php';
$config->delete['pro2_2'][] = 'app/psi/block/view/taskblock.html.php';
$config->delete['pro2_2'][] = 'app/sys/product/ext/view/settings.html.php';
$config->delete['pro2_2'][] = 'app/sys/product/ext/control/settings.php';

$config->delete['pro2_2_2'][] = 'app/hr/salary/js/analysis.js';
$config->delete['pro2_2_2'][] = 'app/hr/salary/view/analysis.html.php';
$config->delete['pro2_2_2'][] = 'app/sys/customer/ext/control/exporttemplet.php';

$config->delete['pro2_3'][] = 'app/sys/block/ext/model/bizext.php';
$config->delete['pro2_3'][] = 'app/sys/block/ext/model/class/bizext.class.php';

$config->delete['pro2_3_1'][] = 'app/sys/user/ext/control/edit.php';

$config->delete['pro2_4'][] = 'app/crm/order/ext/js/create/';

$config->delete['pro2_4'][]   = 'app/ameba/fee/js/browse.js';
$config->delete['pro2_4'][]   = 'app/ameba/fee/js/create.js';
$config->delete['pro2_4'][]   = 'app/ameba/fee/js/edit.js';
$config->delete['pro2_4'][]   = 'app/ameba/fee/js/share.js';
$config->delete['pro2_4'][]   = 'app/ameba/fee/js/view.js';
$config->delete['pro2_4'][]   = 'app/ameba/fee/view/share.html.php';
$config->delete['pro2_4'][]   = 'app/cash/trade/ext/view/browse.html.php';
$config->delete['pro2_4'][]   = 'app/hr/salary/view/side.html.php';
$config->delete['pro2_4'][]   = 'app/oa/leave/ext/view/browse.html.php';
$config->delete['pro2_4'][]   = 'app/oa/leave/ext/view/view.html.php';
$config->delete['pro2_4'][]   = 'app/oa/lieu/ext/view/browse.html.php';
$config->delete['pro2_4'][]   = 'app/oa/lieu/ext/view/view.html.php';
$config->delete['pro2_4'][]   = 'app/oa/makeup/ext/view/browse.html.php';
$config->delete['pro2_4'][]   = 'app/oa/makeup/ext/view/view.html.php';
$config->delete['pro2_4'][]   = 'app/oa/overtime/ext/view/browse.html.php';
$config->delete['pro2_4'][]   = 'app/oa/overtime/ext/view/view.html.php';
$config->delete['pro2_4'][]   = 'app/oa/refund/ext/view/browse.html.php';
$config->delete['pro2_4'][]   = 'app/oa/refund/ext/view/view.html.php';
$config->delete['pro2_4'][]   = 'app/sys/tree/ext/control/delete.php';
$config->delete['pro2_4'][]   = 'app/sys/tree/ext/control/deleteamebaaccount.php';    // Remame to deleteAmebaCategory
$config->delete['pro2_4'][]   = 'app/sys/upgrade/ext/config/ameba.php';
$config->delete['pro2_4'][]   = 'app/sys/user/ext/lang/en/ameba.php';
$config->delete['pro2_4'][]   = 'app/sys/user/ext/lang/zh-cn/ameba.php';
$config->delete['pro2_4'][]   = 'app/sys/user/ext/view/create.admin.ameba.html.hook.php';
$config->delete['pro2_4'][]   = 'app/sys/user/ext/view/edit.admin.ameba.html.hook.php';
$config->delete['pro2_4'][]   = 'config/ext/filter.php';
$config->delete['pro2_5'][]   = 'app/cash/trade/ext/model/class/ameba.class.php';
$config->delete['pro2_5'][]   = 'app/cash/trade/ext/model/hook/syncalipay.ameba.php';
$config->delete['pro2_5'][]   = 'app/crm/contract/ext/model/class/ameba.class.php';
$config->delete['pro2_5'][]   = 'app/crm/contract/ext/model/hook/receive.ameba.php';
$config->delete['pro2_5'][]   = 'app/hr/salary/ext/model/ameba.php';
$config->delete['pro2_5'][]   = 'app/hr/salary/ext/model/class/ameba.class.php';
$config->delete['pro2_5'][]   = 'app/sys/entry/ext/model/class/ameba.class.php';
$config->delete['pro2_5'][]   = 'app/sys/entry/ext/model/hook/getEntries.ameba.php';
$config->delete['pro2_5'][]   = 'app/sys/install/ext/model/class/ameba.class.php';
$config->delete['pro2_5'][]   = 'app/sys/install/ext/model/hook/installentry.ameba.php';
$config->delete['pro2_7'][]   = 'app/flow/workflow/ext/model/bizext.php';
$config->delete['pro2_7'][]   = 'app/hr/salary/ext/model/bizext.php';
$config->delete['pro2_8'][]   = 'app/oa/refund/ext/view/browse.bizext.html.hook.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/adminaction.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/adminfield.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/adminlayout.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/adminmodulemenu.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/createdatasource.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/createfield.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/createresult.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/editdatasource.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/editfield.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/editresult.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/css/verification.css';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/adminaction.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/admincondition.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/admindatasource.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/adminfield.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/adminlayout.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/adminmodulemenu.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/adminresult.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/createdatasource.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/createfield.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/createresult.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/editdatasource.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/editfield.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/editresult.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/setnotice.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/js/verification.js';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/addsqlvar.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/adminaction.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/admincondition.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/admindatasource.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/adminfield.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/adminlayout.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/adminmodulemenu.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/adminresult.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/adminrule.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/createaction.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/createdatasource.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/createfield.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/createmodulemenu.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/createresult.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/createrule.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/editaction.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/editdatasource.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/editfield.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/editmodulemenu.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/editresult.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/editrule.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/exportfield.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/setnotice.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/verification.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/viewaction.html.php';
$config->delete['pro3_0_1'][] = 'app/flow/workflow/view/viewrule.html.php';
$config->delete['pro3_0_1'][] = 'app/oa/leave/ext/css/setreviewer/bizext.css';
$config->delete['pro3_0_1'][] = 'app/oa/lieu/ext/css/setreviewer/bizext.css';
$config->delete['pro3_0_1'][] = 'app/oa/makeup/ext/css/setreviewer/bizext.css';
$config->delete['pro3_0_1'][] = 'app/oa/overtime/ext/css/setreviewer/bizext.css';
$config->delete['pro3_0_1'][] = 'app/oa/refund/ext/css/setreviewer/bizext.css';
$config->delete['pro3_0_1'][] = 'app/sys/flow/css/displaylayout.css';
$config->delete['pro3_0_1'][] = 'app/sys/flow/js/displaylayout.js';
$config->delete['pro3_0_1'][] = 'app/sys/flow/view/custombrowse.html.php';
$config->delete['pro3_0_1'][] = 'app/sys/flow/view/customoperate.html.php';
$config->delete['pro3_0_1'][] = 'app/sys/flow/view/customview.html.php';
$config->delete['pro3_0_1'][] = 'app/sys/flow/view/displaylayout.html.php';
$config->delete['pro3_1'][]   = 'app/crm/order/ext/control/create.php';
$config->delete['pro3_1'][]   = 'app/flow/workflowaction/js/setcondition.js';
$config->delete['pro3_1'][]   = 'app/flow/workflowaction/view/setcondition.html.php';
$config->delete['pro3_1'][]   = 'app/hr/commission/view/batchcreate.html.php';
$config->delete['pro3_1'][]   = 'app/sys/admin/ext/control';
$config->delete['pro3_1'][]   = 'app/sys/admin/ext/js';
$config->delete['pro3_1'][]   = 'app/sys/admin/ext/lang';
$config->delete['pro3_1'][]   = 'app/sys/admin/ext/view';
$config->delete['pro3_1'][]   = 'app/sys/flow/view/m.custombrowse.html.php';
$config->delete['pro3_1'][]   = 'app/sys/flow/view/m.customoperate.html.php';
$config->delete['pro3_1'][]   = 'app/sys/flow/view/m.customview.html.php';
$config->delete['pro3_1'][]   = 'app/sys/flow/view/m.displaylayout.html.php';
$config->delete['pro3_1'][]   = 'app/sys/setting/ext/css/ameba/ameba.css';
$config->delete['pro3_1'][]   = 'app/sys/setting/ext/model/ameba.php';
$config->delete['pro3_1'][]   = 'app/sys/setting/ext/model/class/ameba.class.php';
$config->delete['pro3_1'][]   = 'app/sys/product/ext/control/checkfieldlength.php';
$config->delete['biz4_0'][]   = 'app/cash/depositor/ext/control/edit.php';
$config->delete['biz4_1'][]   = 'app/sys/my/ext/view/review.html.php';
$config->delete['biz5_0_1'][] = 'app/psi/order/js/common.js';
$config->delete['biz5_0_1'][] = 'app/sys/action/ext/control/undelete.php';
$config->delete['biz5_0_1'][] = 'app/sys/user/ext/control/active.php';
$config->delete['biz5_0_1'][] = 'app/sys/user/ext/control/create.php';
$config->delete['biz5_0_1'][] = 'app/sys/payable/css';
$config->delete['biz5_0_1'][] = 'app/sys/payable/js';
$config->delete['biz5_0_1'][] = 'app/sys/payable/view';
$config->delete['biz5_0_1'][] = 'app/sys/payable/config.php';
$config->delete['biz5_0_1'][] = 'app/sys/payable/model.php';
$config->delete['biz5_0_1'][] = 'app/flow/workflowlayout/css/linkage.css';

$config->upgrade->workflow = new stdclass();
$config->upgrade->workflow->datasourceIDList['order']    = 1;
$config->upgrade->workflow->datasourceIDList['contract'] = 2;
$config->upgrade->workflow->datasourceIDList['customer'] = 3;
$config->upgrade->workflow->datasourceIDList['provider'] = 4;
$config->upgrade->workflow->datasourceIDList['contact']  = 5;
