From 29035c844a54cb894fc24b84be65065b2a41c85a Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Wed, 14 Oct 2015 18:40:23 -0400 Subject: Issue #1816008 by Kuldip Gohil, cam8001, jhodgdon, peterx: drupal_cron_run() @return parameter documentation incorrect, should specify that the function returns TRUE or FALSE --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index bb27d391e..34fa9b962 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -5323,8 +5323,8 @@ function drupal_page_set_cache() { * * Do not call this function from a test. Use $this->cronRun() instead. * - * @return - * TRUE if cron ran successfully. + * @return bool + * TRUE if cron ran successfully and FALSE if cron is already running. */ function drupal_cron_run() { // Allow execution to continue even if the request gets canceled. -- cgit v1.2.3