<?php

/**
 * hook_enable - let imce know we have custom content
 */
function imce_file_path_enable() {
  $funcs = variable_get('imce_custom_content', array());
  $funcs['imce_file_path_content'] = 1;
  variable_set('imce_custom_content', $funcs);
}

/**
 * hook_disable - remove our custom content registration with imce
 */
function imce_file_path_disable() {
  $funcs = variable_get('imce_custom_content', array());
  unset($funcs['imce_file_path_content']);
  variable_set('imce_custom_content', $funcs);
}
