aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/base.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-03-12 15:07:31 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-03-12 15:07:31 +0100
commita627133b15aac20703d5fe82a7f1388225b6b00e (patch)
treea4972139f4132d675008476390f86749000c33c2 /phpBB/includes/cron/task/base.php
parentdf096b6b52f9198561d689b505a8c74a0d0f86b6 (diff)
downloadforums-a627133b15aac20703d5fe82a7f1388225b6b00e.tar
forums-a627133b15aac20703d5fe82a7f1388225b6b00e.tar.gz
forums-a627133b15aac20703d5fe82a7f1388225b6b00e.tar.bz2
forums-a627133b15aac20703d5fe82a7f1388225b6b00e.tar.xz
forums-a627133b15aac20703d5fe82a7f1388225b6b00e.zip
[ticket/10046] Remove register_shutdown_function() in cron.php from develop.
PHPBB3-10046
Diffstat (limited to 'phpBB/includes/cron/task/base.php')
-rw-r--r--phpBB/includes/cron/task/base.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/phpBB/includes/cron/task/base.php b/phpBB/includes/cron/task/base.php
index 38c0b844d9..9db8e3bd44 100644
--- a/phpBB/includes/cron/task/base.php
+++ b/phpBB/includes/cron/task/base.php
@@ -51,23 +51,4 @@ abstract class phpbb_cron_task_base implements phpbb_cron_task
{
return true;
}
-
- /**
- * Returns whether this cron task can be run in shutdown function.
- *
- * By the time shutdown sequence invokes a particular piece of code,
- * resources that that code requires may already be released.
- * If so, a particular cron task may be marked shutdown function-
- * unsafe, and it will be executed in normal program flow.
- *
- * Generally speaking cron tasks should start off as shutdown function-
- * safe, and only be marked shutdown function-unsafe if a problem
- * is discovered.
- *
- * @return bool Whether the cron task is shutdown function-safe.
- */
- public function is_shutdown_function_safe()
- {
- return true;
- }
}