Dotclear


Ignore:
Timestamp:
09/18/13 10:51:42 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Revamp plugin maintenance, step 2, add task reminder, addresses #999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/maintenance/inc/class.dc.maintenance.task.php

    r1925 r1940  
    2424     protected $p_url; 
    2525     protected $code; 
     26     protected $ts = 604800; // one week 
    2627 
    2728     protected $id; 
     
    3334     protected $error; 
    3435     protected $success; 
    35      protected $reminder; 
    3636 
    3737     /** 
     
    8585 
    8686     /** 
     87      * Get timestamp between maintenances. 
     88      * 
     89      * @return     <b>intetger</b>     Timestamp 
     90      */ 
     91     public function ts() 
     92     { 
     93          return abs((integer) $this->ts); 
     94     } 
     95 
     96     /** 
    8797      * Get task ID. 
    8898      * 
     
    165175     } 
    166176 
    167      /** @todo */ 
    168      public function reminder() 
    169      { 
    170           return null; 
    171      } 
    172  
    173177     /** 
    174178      * Get header. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map