You are here

function optimizely_enable in Optimizely 7.2

Same name and namespace in other branches
  1. 7.3 optimizely.install \optimizely_enable()

User enabled module

File

./optimizely.install, line 171
Install, update and uninstall functions for the Optimizely module

Code

function optimizely_enable() {

  // Inform the user if the Optimizely account has been set
  $account_id = variable_get('optimizely_id', FALSE);
  if (!$account_id) {
    drupal_set_message(st('The Optimizely account ID has not been set, please added it to complete the default setup at') . ' ' . l(st('Account Settings'), 'admin/config/system/optimizely/settings') . '.', 'status');
  }
}