Skip to content

Instantly share code, notes, and snippets.

@frank-bg
Last active January 16, 2020 20:26
Show Gist options
  • Save frank-bg/9d342c992d6e936e22811bb95d5144ac to your computer and use it in GitHub Desktop.
Save frank-bg/9d342c992d6e936e22811bb95d5144ac to your computer and use it in GitHub Desktop.
<?php
include_once 'config.php';
include_once 'include/Webservices/Relation.php';
include_once 'vtlib/Vtiger/Module.php';
include_once 'includes/main/WebUI.php';
$current_user=Users::getActiveAdminUser();
function foo()
{
Vtiger_Access::syncSharingAccess();
Vtiger_Deprecated::createModuleMetaFile();
Vtiger_Deprecated::createModuleGroupMetaFile();
}
foo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment