[ Index ]

PHP Cross Reference of phpBB-3.3.9-deutsch

title

Body

[close]

/phpbb/cron/task/core/ -> tidy_warnings.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 80 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

tidy_warnings:: (4 methods):
  __construct()
  run()
  is_runnable()
  should_run()


Class: tidy_warnings  - X-Ref

Tidy warnings cron task.

Will only run when warnings are configured to expire.
__construct($phpbb_root_path, $php_ext, \phpbb\config\config $config)   X-Ref
Constructor.

param: string $phpbb_root_path The root path
param: string $php_ext PHP file extension
param: \phpbb\config\config $config The config

run()   X-Ref
Runs this cron task.

return: null

is_runnable()   X-Ref
Returns whether this cron task can run, given current board configuration.

If warnings are set to never expire, this cron task will not run.

return: bool

should_run()   X-Ref
Returns whether this cron task should run now, because enough time
has passed since it was last run.

The interval between warnings tidying is specified in board
configuration.

return: bool



Generated: Wed Dec 7 15:09:22 2022 Cross-referenced by PHPXref 0.7.1