[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/cron/task/core/ -> prune_all_forums.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: 89 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

prune_all_forums:: (3 methods):
  __construct()
  run()
  is_runnable()


Class: prune_all_forums  - X-Ref

Prune all forums cron task.

It is intended to be invoked from system cron.
This task will find all forums for which pruning is enabled, and will
prune all forums as necessary.
__construct($phpbb_root_path, $php_ext, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db)   X-Ref
Constructor.

param: string $phpbb_root_path The root path
param: string $php_ext The PHP file extension
param: \phpbb\config\config $config The config
param: \phpbb\db\driver\driver_interface $db The db connection

run()   X-Ref
Runs this cron task.

return: null

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

This cron task will only run when system cron is utilised.

return: bool



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1