Added cron support for blocks - it was already there in the tables, now we just need to use it

This commit is contained in:
mjollnir_
2006-02-14 03:24:08 +00:00
parent d02cb0d006
commit f9648e77cf
3 changed files with 35 additions and 0 deletions
+3
View File
@@ -1071,6 +1071,9 @@ function upgrade_blocks_plugins($continueto) {
// If it allows multiples, start with it enabled
$block->multiple = $blockobj->instance_allow_multiple();
if (!empty($blockobj->cron)) {
$block->cron = $blockobj->cron;
}
// [pj] Normally this would be inline in the if, but we need to
// check for NULL (necessary for 4.0.5 <= PHP < 4.2.0)