You are here

function zopim_install in Zopim Live Chat 7

Same name and namespace in other branches
  1. 6 zopim.install \zopim_install()

Implementation of hook_install().

File

./zopim.install, line 11
Installation file for Zopim module.

Code

function zopim_install() {
  variable_set('zopim_visibility', 0);

  // Remove tracking from all administrative pages
  $pages = array(
    'admin',
    'admin/*',
    'user/*/*',
    'node/add*',
    'node/*/*',
  );
  variable_set('zopim_pages', implode("\n", $pages));
}