You are here

function farm_access_flush_caches in farmOS 7

Implements hook_flush_caches().

File

modules/farm/farm_access/farm_access.module, line 671
Farm Access module.

Code

function farm_access_flush_caches() {

  // Create new roles.
  farm_access_roles_create();

  // Sync permissions when the cache is cleared.
  farm_access_sync_perms();
}