aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/task.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-03-12 18:17:25 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-03-12 18:17:25 +0100
commitcfede1db83fad170c7ac4d1c3be8363cfd306283 (patch)
treeb7a0a24f68ab72090f4b0b0888f350398312c504 /phpBB/includes/cron/task/task.php
parenta27a39ebed0133dd88322a2c3a9e7228c657a703 (diff)
parenta627133b15aac20703d5fe82a7f1388225b6b00e (diff)
downloadforums-cfede1db83fad170c7ac4d1c3be8363cfd306283.tar
forums-cfede1db83fad170c7ac4d1c3be8363cfd306283.tar.gz
forums-cfede1db83fad170c7ac4d1c3be8363cfd306283.tar.bz2
forums-cfede1db83fad170c7ac4d1c3be8363cfd306283.tar.xz
forums-cfede1db83fad170c7ac4d1c3be8363cfd306283.zip
Merge branch 'ticket/bantu/10046-develop' into develop
* ticket/bantu/10046-develop: [ticket/10046] Remove register_shutdown_function() in cron.php from develop.
Diffstat (limited to 'phpBB/includes/cron/task/task.php')
-rw-r--r--phpBB/includes/cron/task/task.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/phpBB/includes/cron/task/task.php b/phpBB/includes/cron/task/task.php
index 58c4a96f8e..cceccce44f 100644
--- a/phpBB/includes/cron/task/task.php
+++ b/phpBB/includes/cron/task/task.php
@@ -45,20 +45,4 @@ interface phpbb_cron_task
* @return bool
*/
public function should_run();
-
- /**
- * 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
- */
- public function is_shutdown_function_safe();
}