YAY! I figured it out!!! LOL
here is the code in case anyone else runs into this issue... this does the same thing that the "Clear Vardefs Data Cache" link does in the "Admin" section under "Repair".
PHP Code:
include_once('modules/Administration/QuickRepairAndRebuild.php') ;
$repair = new RepairAndClear();
$modules = array('All Modules');
$selected_actions = array('clearTpls', 'clearJsFiles', 'clearVardefs', 'clearJsLangFiles', 'clearDashlets', 'clearSugarFeedCache', 'clearThemeCache', 'rebuildAuditTables', 'rebuildExtensions', 'clearLangFiles', 'clearSearchCache', 'clearPDFFontCache', 'repairDatabase');
$repair->repairAndClearAll($selected_actions, $modules, false, false);
Bookmarks