You are here

function _signup_load_scheduler_includes in Signup 7

Same name and namespace in other branches
  1. 5.2 includes/scheduler.inc \_signup_load_scheduler_includes()
  2. 6.2 includes/scheduler.inc \_signup_load_scheduler_includes()
  3. 6 includes/scheduler.inc \_signup_load_scheduler_includes()

Load relevant scheduler backend include file(s).

Decides which include files are needed based on which modules exist and which versions are loaded.

1 call to _signup_load_scheduler_includes()
_signup_initialize_scheduler_backend in ./signup.module
Initialize the necessary scheduler backend(s).

File

includes/scheduler.inc, line 13
Code necessary to determine which scheduler backend(s) to use.

Code

function _signup_load_scheduler_includes() {
  if (module_exists('event')) {
    module_load_include('inc', 'signup', 'includes/event.6x-2');
  }
  if (module_exists('date')) {
    module_load_include('inc', 'signup', 'includes/date');
  }
}