Changeset 726
- Timestamp:
- 01/23/09 18:17:22 (14 years ago)
- Location:
- plugins/dcCron
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCron/_admin.php
r706 r726 3 3 # This file is part of dcCron, a plugin for Dotclear. 4 4 # 5 # Copyright (c) 200 8Tomtom5 # Copyright (c) 2009 Tomtom 6 6 # http://blog.zesntyle.fr/ 7 7 # -
plugins/dcCron/_define.php
r706 r726 3 3 # This file is part of dcCron, a plugin for Dotclear. 4 4 # 5 # Copyright (c) 200 8Tomtom5 # Copyright (c) 2009 Tomtom 6 6 # http://blog.zesntyle.fr/ 7 7 # … … 17 17 /* Description*/ "Schedule any tasks", 18 18 /* Author */ "Tomtom", 19 /* Version */ '0. 1',19 /* Version */ '0.2', 20 20 /* Permissions */ 'admin', 21 21 null, -
plugins/dcCron/_install.php
r706 r726 3 3 # This file is part of dcCron, a plugin for Dotclear. 4 4 # 5 # Copyright (c) 200 8Tomtom5 # Copyright (c) 2009 Tomtom 6 6 # http://blog.zesntyle.fr/ 7 7 # … … 12 12 13 13 if (!defined('DC_CONTEXT_ADMIN')) { return; } 14 14 15 15 $m_version = $core->plugins->moduleInfo('dcCron','version'); 16 16 17 17 $i_version = $core->getVersion('dcCron'); 18 18 19 19 if (version_compare($i_version,$m_version,'>=')) { 20 20 return; -
plugins/dcCron/_prepend.php
r706 r726 3 3 # This file is part of dcCron, a plugin for Dotclear. 4 4 # 5 # Copyright (c) 200 8Tomtom5 # Copyright (c) 2009 Tomtom 6 6 # http://blog.zesntyle.fr/ 7 7 # -
plugins/dcCron/inc/class.dc.cron.behaviors.php
r706 r726 3 3 # This file is part of dcCron, a plugin for Dotclear. 4 4 # 5 # Copyright (c) 200 8Tomtom5 # Copyright (c) 2009 Tomtom 6 6 # http://blog.zesntyle.fr/ 7 7 # -
plugins/dcCron/inc/class.dc.cron.list.php
r706 r726 1 1 <?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 ------------------------------------ 2 12 3 13 class dcCronList extends adminGenericList -
plugins/dcCron/inc/class.dc.cron.php
r706 r726 3 3 # This file is part of dcCron, a plugin for Dotclear. 4 4 # 5 # Copyright (c) 200 8Tomtom5 # Copyright (c) 2009 Tomtom 6 6 # http://blog.zesntyle.fr/ 7 7 # … … 23 23 { 24 24 $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(); 26 26 } 27 27 … … 52 52 * @return: boolean 53 53 */ 54 public function put Task($nid,$interval,$callback)54 public function put($nid,$interval,$callback) 55 55 { 56 56 if (!preg_match('#^[a-zA-Z0-9]*$#',$nid)) { … … 87 87 * @return: boolean 88 88 */ 89 public function del Task($nid)89 public function del($nid) 90 90 { 91 91 if (!is_array($nid)) { -
plugins/dcCron/index.php
r706 r726 3 3 # This file is part of dcCron, a plugin for Dotclear. 4 4 # 5 # Copyright (c) 200 8Tomtom5 # Copyright (c) 2009 Tomtom 6 6 # http://blog.zesntyle.fr/ 7 7 #
Note: See TracChangeset
for help on using the changeset viewer.