You are here

function opigno_og_access_modules_enabled in Opigno 7

File

modules/opigno_og_access/opigno_og_access.module, line 358
Enable access control for private and public groups and group content.

Code

function opigno_og_access_modules_enabled($modules) {
  if (in_array('opigno', $modules)) {
    opigno_og_access_install_course_fields();
  }
  if (in_array('opigno_class_app', $modules)) {
    opigno_og_access_install_class_fields();
  }
}