Dotclear

Changeset 815


Ignore:
Timestamp:
02/25/09 15:34:30 (15 years ago)
Author:
Tomtom33
Message:

Fix enable bug

Location:
plugins/dcCron
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCron/_define.php

    r809 r815  
    1717     /* Description*/         "Schedule any tasks", 
    1818     /* Author */             "Tomtom", 
    19      /* Version */            '0.7.2', 
     19     /* Version */            '0.7.3', 
    2020     /* Permissions */        'admin', 
    2121                              null, 
  • plugins/dcCron/inc/class.dc.cron.php

    r809 r815  
    145145     { 
    146146          if (array_key_exists($nid,$this->tasks)) { 
    147                $this->tasks[$nid]['enabled'] = false; 
     147               $this->tasks[$nid]['enabled'] = true; 
    148148               $this->save(); 
    149149               return true; 
     
    255255          } 
    256256     } 
     257     public function test() 
     258     { echo 'coucou'; } 
    257259} 
    258260 
Note: See TracChangeset for help on using the changeset viewer.

Sites map