/[drupal]/contributions/modules/poormanscron/poormanscron.install
ViewVC logotype

Diff of /contributions/modules/poormanscron/poormanscron.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2.2.1, Tue Sep 29 22:31:58 2009 UTC revision 1.2.2.2, Tue Sep 29 22:36:15 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: poormanscron.install,v 1.1.2.1 2008/02/11 07:28:14 robloach Exp $  // $Id: poormanscron.install,v 1.2.2.1 2009/09/29 22:31:58 davereid Exp $
3    
4  /**  /**
5   * Implementation of hook_uninstall().   * Implementation of hook_uninstall().
# Line 10  function poormanscron_uninstall() { Line 10  function poormanscron_uninstall() {
10    variable_del('poormanscron_log_cron_runs');    variable_del('poormanscron_log_cron_runs');
11  }  }
12    
13    /**
14     * Upgrade to the D7 named variable for easy transition.
15     */
16  function poormanscron_update_6200() {  function poormanscron_update_6200() {
17    $interval = variable_get('poormanscron_interval', 60) * 60;    $interval = variable_get('poormanscron_interval', 60) * 60;
18    variable_set('cron_safe_threshold', max($interval, 3600));    variable_set('cron_safe_threshold', max($interval, 3600));

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

  ViewVC Help
Powered by ViewVC 1.1.2