You are here

flog.install in File logger 6

Same filename and directory in other branches
  1. 7 flog.install

flog: Dump variables to a file.

File

flog.install
View source
<?php

/**
 * @file
 * flog: Dump variables to a file.
 */

/**
* Implementation of hook_install().
*/
function flog_install() {
  drupal_set_message(st("File logger installed.  Configure and enable at !link", array(
    '!link' => l('Administer > Site configuration > File logging ', 'admin/settings/flog'),
  )));
}

/**
* Implementation of hook_uninstall().
*/
function flog_uninstall() {
  variable_del('flog_enabled');
  variable_del('flog_path');
  variable_del('flog_file');
  variable_del('flog_date');
}

Functions

Namesort descending Description
flog_install Implementation of hook_install().
flog_uninstall Implementation of hook_uninstall().