Dotclear

Changeset 726


Ignore:
Timestamp:
01/23/09 18:17:22 (14 years ago)
Author:
Tomtom33
Message:

Fixed date error in licence blocks & corrected function name

Location:
plugins/dcCron
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCron/_admin.php

    r706 r726  
    33# This file is part of dcCron, a plugin for Dotclear. 
    44#  
    5 # Copyright (c) 2008 Tomtom 
     5# Copyright (c) 2009 Tomtom 
    66# http://blog.zesntyle.fr/ 
    77#  
  • plugins/dcCron/_define.php

    r706 r726  
    33# This file is part of dcCron, a plugin for Dotclear. 
    44#  
    5 # Copyright (c) 2008 Tomtom 
     5# Copyright (c) 2009 Tomtom 
    66# http://blog.zesntyle.fr/ 
    77#  
     
    1717     /* Description*/         "Schedule any tasks", 
    1818     /* Author */             "Tomtom", 
    19      /* Version */            '0.1', 
     19     /* Version */            '0.2', 
    2020     /* Permissions */        'admin', 
    2121                              null, 
  • plugins/dcCron/_install.php

    r706 r726  
    33# This file is part of dcCron, a plugin for Dotclear. 
    44#  
    5 # Copyright (c) 2008 Tomtom 
     5# Copyright (c) 2009 Tomtom 
    66# http://blog.zesntyle.fr/ 
    77#  
     
    1212 
    1313if (!defined('DC_CONTEXT_ADMIN')) { return; } 
    14   
     14 
    1515$m_version = $core->plugins->moduleInfo('dcCron','version'); 
    16   
     16 
    1717$i_version = $core->getVersion('dcCron'); 
    18   
     18 
    1919if (version_compare($i_version,$m_version,'>=')) { 
    2020     return; 
  • plugins/dcCron/_prepend.php

    r706 r726  
    33# This file is part of dcCron, a plugin for Dotclear. 
    44#  
    5 # Copyright (c) 2008 Tomtom 
     5# Copyright (c) 2009 Tomtom 
    66# http://blog.zesntyle.fr/ 
    77#  
  • plugins/dcCron/inc/class.dc.cron.behaviors.php

    r706 r726  
    33# This file is part of dcCron, a plugin for Dotclear. 
    44#  
    5 # Copyright (c) 2008 Tomtom 
     5# Copyright (c) 2009 Tomtom 
    66# http://blog.zesntyle.fr/ 
    77#  
  • plugins/dcCron/inc/class.dc.cron.list.php

    r706 r726  
    11<?php 
     2# -- BEGIN LICENSE BLOCK ---------------------------------- 
     3# This file is part of dcCron, a plugin for Dotclear. 
     4#  
     5# Copyright (c) 2009 Tomtom 
     6# http://blog.zesntyle.fr/ 
     7#  
     8# Licensed under the GPL version 2.0 license. 
     9# A copy of this license is available in LICENSE file or at 
     10# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     11# -- END LICENSE BLOCK ------------------------------------ 
    212 
    313class dcCronList extends adminGenericList 
  • plugins/dcCron/inc/class.dc.cron.php

    r706 r726  
    33# This file is part of dcCron, a plugin for Dotclear. 
    44#  
    5 # Copyright (c) 2008 Tomtom 
     5# Copyright (c) 2009 Tomtom 
    66# http://blog.zesntyle.fr/ 
    77#  
     
    2323     { 
    2424          $this->core =& $core; 
    25           $this->tasks = unserialize($core->blog->settings->dccron_tasks); 
     25          $this->tasks = isset($core->blog->settings->dccron_tasks) ? unserialize($core->blog->settings->dccron_tasks) : array(); 
    2626     } 
    2727 
     
    5252      * @return:    boolean 
    5353      */ 
    54      public function putTask($nid,$interval,$callback) 
     54     public function put($nid,$interval,$callback) 
    5555     { 
    5656          if (!preg_match('#^[a-zA-Z0-9]*$#',$nid)) { 
     
    8787      * @return:    boolean 
    8888      */ 
    89      public function delTask($nid) 
     89     public function del($nid) 
    9090     { 
    9191          if (!is_array($nid)) { 
  • plugins/dcCron/index.php

    r706 r726  
    33# This file is part of dcCron, a plugin for Dotclear. 
    44#  
    5 # Copyright (c) 2008 Tomtom 
     5# Copyright (c) 2009 Tomtom 
    66# http://blog.zesntyle.fr/ 
    77#  
Note: See TracChangeset for help on using the changeset viewer.

Sites map