You are here

function lingotek_is_module_setup in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.7 lingotek.module \lingotek_is_module_setup()
  2. 7.2 lingotek.module \lingotek_is_module_setup()
  3. 7.4 lingotek.module \lingotek_is_module_setup()
  4. 7.5 lingotek.module \lingotek_is_module_setup()
  5. 7.6 lingotek.module \lingotek_is_module_setup()

Checks to make sure the Lingotek Translation module setup completed successfully. If its not, the user is directed to the setup wizard.

3 calls to lingotek_is_module_setup()
lingotek_admin_account_status_form in ./lingotek.admin.inc
Form constructor for the administration form.
lingotek_admin_configuration_view in ./lingotek.admin.inc
lingotek_dashboard in ./lingotek.dashboard.inc
Tab: Dashboard - The main Lingotek dashboard page.

File

./lingotek.module, line 1087

Code

function lingotek_is_module_setup() {
  if (!lingotek_setup_check_credentials()) {
    drupal_goto('admin/config/lingotek/new-account');

    // If something is missing - Go to the Setup Process
  }
}