2010-08-18 01:54:36 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Install, update and uninstall functions for the syslog module.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2012-07-28 16:35:17 +00:00
|
|
|
* Implements hook_install().
|
2010-08-18 01:54:36 +00:00
|
|
|
*/
|
2012-07-28 16:35:17 +00:00
|
|
|
function syslog_install() {
|
|
|
|
// The default facility setting depends on the operating system, so it needs
|
|
|
|
// to be set dynamically during installation.
|
2015-01-16 10:43:35 +00:00
|
|
|
\Drupal::configFactory()->getEditable('syslog.settings')->set('facility', defined('LOG_LOCAL0') ? LOG_LOCAL0 : LOG_USER)->save();
|
2010-08-18 01:54:36 +00:00
|
|
|
}
|
2017-04-29 20:58:00 +00:00
|
|
|
|
|
|
|
/**
|
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**
2020-01-24 23:52:03 +00:00
|
|
|
* Implements hook_update_last_removed().
|
2017-04-29 20:58:00 +00:00
|
|
|
*/
|
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**
2020-01-24 23:52:03 +00:00
|
|
|
function syslog_update_last_removed() {
|
|
|
|
return 8400;
|
2017-04-29 20:58:00 +00:00
|
|
|
}
|