/
var
/
www
/
html
/
sugar9
/
modules
/
Administration
/
Upload File
HOME
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ include('include/modules.php'); global $beanFiles, $mod_strings; echo $mod_strings['LBL_REBUILD_AUDIT_SEARCH'] . ' <BR>'; foreach ($beanFiles as $bean => $file) { if(strlen($file) > 0 && file_exists($file)) { require_once($file); $focus = BeanFactory::newBeanByName($bean); if ($focus->is_AuditEnabled()) { if (!$focus->db->tableExists($focus->get_audit_table_name())) { printf($mod_strings['LBL_REBUILD_AUDIT_SEARCH'],$focus->get_audit_table_name(), $focus->object_name); $focus->create_audit_table(); } else { printf($mod_strings['LBL_REBUILD_AUDIT_SKIP'],$focus->object_name); } } } } echo $mod_strings['LBL_DONE']; ?>