Disable AutoTask Menu

From Roaring Penguin
Revision as of 13:47, 8 May 2014 by MCoyne (talk | contribs) (Created page with "To disable the 'Autotask Integration' in the setup menu create a file called /var/www/canit/site/config.d/99_disable_autotask.php with the following contents: <?php global…")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To disable the 'Autotask Integration' in the setup menu create a file called /var/www/canit/site/config.d/99_disable_autotask.php with the following contents:

  <?php
  global $CANIT_MENU;
  $CANIT_MENU->disable(array('setup', 'autotask'));
  ?>  

There should be no whitespace before the <?php or after the ?>

This will survive CanIt upgrades.