aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/cron/task')
-rw-r--r--phpBB/includes/cron/task/core/prune_all_forums.php5
-rw-r--r--phpBB/includes/cron/task/core/prune_forum.php8
-rw-r--r--phpBB/includes/cron/task/core/queue.php4
-rw-r--r--phpBB/includes/cron/task/core/tidy_cache.php3
-rw-r--r--phpBB/includes/cron/task/core/tidy_database.php4
-rw-r--r--phpBB/includes/cron/task/core/tidy_search.php4
-rw-r--r--phpBB/includes/cron/task/core/tidy_sessions.php3
-rw-r--r--phpBB/includes/cron/task/core/tidy_warnings.php4
-rw-r--r--phpBB/includes/cron/task/wrapper.php4
9 files changed, 29 insertions, 10 deletions
diff --git a/phpBB/includes/cron/task/core/prune_all_forums.php b/phpBB/includes/cron/task/core/prune_all_forums.php
index f175dde650..5164087b68 100644
--- a/phpBB/includes/cron/task/core/prune_all_forums.php
+++ b/phpBB/includes/cron/task/core/prune_all_forums.php
@@ -26,7 +26,10 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_prune_all_forums extends phpbb_cron_task_base
{
- private $phpbb_root_path, $php_ext, $config, $db;
+ protected $phpbb_root_path;
+ protected $php_ext;
+ protected $config;
+ protected $db;
public function __construct($phpbb_root_path, $php_ext, phpbb_config $config, dbal $db)
{
diff --git a/phpBB/includes/cron/task/core/prune_forum.php b/phpBB/includes/cron/task/core/prune_forum.php
index d3b14ff68e..428224a527 100644
--- a/phpBB/includes/cron/task/core/prune_forum.php
+++ b/phpBB/includes/cron/task/core/prune_forum.php
@@ -26,8 +26,12 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_prune_forum extends phpbb_cron_task_base implements phpbb_cron_task_parametrized
{
- private $phpbb_root_path, $php_ext, $config, $db;
- private $forum_data;
+ protected $phpbb_root_path;
+ protected $php_ext;
+ protected $config;
+ protected $db;
+
+ protected $forum_data;
public function __construct($phpbb_root_path, $php_ext, phpbb_config $config, dbal $db)
{
diff --git a/phpBB/includes/cron/task/core/queue.php b/phpBB/includes/cron/task/core/queue.php
index 1c5cd8c5db..c436c9bbad 100644
--- a/phpBB/includes/cron/task/core/queue.php
+++ b/phpBB/includes/cron/task/core/queue.php
@@ -22,7 +22,9 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_queue extends phpbb_cron_task_base
{
- private $phpbb_root_path, $php_ext, $config;
+ protected $phpbb_root_path;
+ protected $php_ext
+ protected $config;
public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
diff --git a/phpBB/includes/cron/task/core/tidy_cache.php b/phpBB/includes/cron/task/core/tidy_cache.php
index 530f25dacb..0c8e8b25fb 100644
--- a/phpBB/includes/cron/task/core/tidy_cache.php
+++ b/phpBB/includes/cron/task/core/tidy_cache.php
@@ -22,7 +22,8 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_cache extends phpbb_cron_task_base
{
- private $config, $cache;
+ protected $config;
+ protected $cache;
public function __construct(phpbb_config $config, phpbb_cache_driver_interface $cache)
{
diff --git a/phpBB/includes/cron/task/core/tidy_database.php b/phpBB/includes/cron/task/core/tidy_database.php
index d0e6c9a253..4b4679f203 100644
--- a/phpBB/includes/cron/task/core/tidy_database.php
+++ b/phpBB/includes/cron/task/core/tidy_database.php
@@ -22,7 +22,9 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_database extends phpbb_cron_task_base
{
- private $phpbb_root_path, $php_ext, $config;
+ protected $phpbb_root_path;
+ protected $php_ext
+ protected $config;
public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
diff --git a/phpBB/includes/cron/task/core/tidy_search.php b/phpBB/includes/cron/task/core/tidy_search.php
index fcd639cfee..a2f1b55763 100644
--- a/phpBB/includes/cron/task/core/tidy_search.php
+++ b/phpBB/includes/cron/task/core/tidy_search.php
@@ -24,7 +24,9 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_search extends phpbb_cron_task_base
{
- private $phpbb_root_path, $php_ext, $config;
+ protected $phpbb_root_path;
+ protected $php_ext;
+ protected $config;
public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
diff --git a/phpBB/includes/cron/task/core/tidy_sessions.php b/phpBB/includes/cron/task/core/tidy_sessions.php
index b409c93868..695a537274 100644
--- a/phpBB/includes/cron/task/core/tidy_sessions.php
+++ b/phpBB/includes/cron/task/core/tidy_sessions.php
@@ -22,7 +22,8 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_sessions extends phpbb_cron_task_base
{
- private $config, $user;
+ protected $config;
+ protected $user;
public function __construct(phpbb_config $config, phpbb_user $user)
{
diff --git a/phpBB/includes/cron/task/core/tidy_warnings.php b/phpBB/includes/cron/task/core/tidy_warnings.php
index 9d9139b950..acffd12052 100644
--- a/phpBB/includes/cron/task/core/tidy_warnings.php
+++ b/phpBB/includes/cron/task/core/tidy_warnings.php
@@ -24,7 +24,9 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_warnings extends phpbb_cron_task_base
{
- private $phpbb_root_path, $php_ext, $config;
+ protected $phpbb_root_path;
+ protected $php_ext;
+ protected $config;
public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
diff --git a/phpBB/includes/cron/task/wrapper.php b/phpBB/includes/cron/task/wrapper.php
index d1ddf20156..386fb5b383 100644
--- a/phpBB/includes/cron/task/wrapper.php
+++ b/phpBB/includes/cron/task/wrapper.php
@@ -23,7 +23,9 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_wrapper
{
- private $task, $phpbb_root_path, $php_ext;
+ protected $task;
+ protected $phpbb_root_path;
+ protected $php_ext;
/**
* Constructor.