Dotclear

Changeset 1362


Ignore:
Timestamp:
08/05/09 17:21:17 (14 years ago)
Author:
Tomtom33
Message:

dcCron 1.1.8 :

  • closes #202
  • fixes compatibility with PHP 5.3
Location:
plugins/dcCron
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCron/_define.php

    r1060 r1362  
    1717          /* Description*/         "Schedule any tasks", 
    1818          /* Author */             "Tomtom (http://blog.zenstyle.fr)", 
    19           /* Version */            '1.1.7', 
     19          /* Version */            '1.1.8', 
    2020          /* Permissions */        'admin', 
    2121                                   null, 
  • plugins/dcCron/inc/class.dc.cron.php

    r1060 r1362  
    2121      * @param:     $core     dcCore 
    2222      */ 
    23      public function __construct(&$core) 
     23     public function __construct($core) 
    2424     { 
    2525          $this->core =& $core; 
     
    4242                    $v['enabled'] 
    4343               ) { 
    44                     if (call_user_func($v['callback']) === false) { 
     44                    if (call_user_func($v['callback'],$k) === false) { 
    4545                         $this->errors[$k] = sprintf(__('[%s] Impossible to execute task : %s'),dt::str($format,$time),$k);  
    4646                    } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map