aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/core
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-07-26 16:15:56 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-07-26 16:15:56 +0200
commit5cdcaaa5318c05a04c544eeb25ced571737c2ce3 (patch)
treea436b178dc328722163668df76c937dfc55dd346 /phpBB/includes/cron/task/core
parentcec4c94f2edff43508f20d8838399f4114557134 (diff)
downloadforums-5cdcaaa5318c05a04c544eeb25ced571737c2ce3.tar
forums-5cdcaaa5318c05a04c544eeb25ced571737c2ce3.tar.gz
forums-5cdcaaa5318c05a04c544eeb25ced571737c2ce3.tar.bz2
forums-5cdcaaa5318c05a04c544eeb25ced571737c2ce3.tar.xz
forums-5cdcaaa5318c05a04c544eeb25ced571737c2ce3.zip
[feature/dic] Rename {phpEx => php_ext} for consistency
PHPBB3-10739
Diffstat (limited to 'phpBB/includes/cron/task/core')
-rw-r--r--phpBB/includes/cron/task/core/prune_all_forums.php8
-rw-r--r--phpBB/includes/cron/task/core/prune_forum.php8
-rw-r--r--phpBB/includes/cron/task/core/queue.php10
-rw-r--r--phpBB/includes/cron/task/core/tidy_database.php8
-rw-r--r--phpBB/includes/cron/task/core/tidy_search.php10
-rw-r--r--phpBB/includes/cron/task/core/tidy_warnings.php8
6 files changed, 26 insertions, 26 deletions
diff --git a/phpBB/includes/cron/task/core/prune_all_forums.php b/phpBB/includes/cron/task/core/prune_all_forums.php
index f3a179d81b..f175dde650 100644
--- a/phpBB/includes/cron/task/core/prune_all_forums.php
+++ b/phpBB/includes/cron/task/core/prune_all_forums.php
@@ -26,12 +26,12 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_prune_all_forums extends phpbb_cron_task_base
{
- private $phpbb_root_path, $phpEx, $config, $db;
+ private $phpbb_root_path, $php_ext, $config, $db;
- public function __construct($phpbb_root_path, $phpEx, phpbb_config $config, dbal $db)
+ public function __construct($phpbb_root_path, $php_ext, phpbb_config $config, dbal $db)
{
$this->phpbb_root_path = $phpbb_root_path;
- $this->phpEx = $phpEx;
+ $this->php_ext = $php_ext;
$this->config = $config;
$this->db = $db;
}
@@ -45,7 +45,7 @@ class phpbb_cron_task_core_prune_all_forums extends phpbb_cron_task_base
{
if (!function_exists('auto_prune'))
{
- include($this->phpbb_root_path . 'includes/functions_admin.' . $this->phpEx);
+ include($this->phpbb_root_path . 'includes/functions_admin.' . $this->php_ext);
}
$sql = 'SELECT forum_id, prune_next, enable_prune, prune_days, prune_viewed, forum_flags, prune_freq
diff --git a/phpBB/includes/cron/task/core/prune_forum.php b/phpBB/includes/cron/task/core/prune_forum.php
index 1f717904ef..d3b14ff68e 100644
--- a/phpBB/includes/cron/task/core/prune_forum.php
+++ b/phpBB/includes/cron/task/core/prune_forum.php
@@ -26,13 +26,13 @@ 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, $phpEx, $config, $db;
+ private $phpbb_root_path, $php_ext, $config, $db;
private $forum_data;
- public function __construct($phpbb_root_path, $phpEx, phpbb_config $config, dbal $db)
+ public function __construct($phpbb_root_path, $php_ext, phpbb_config $config, dbal $db)
{
$this->phpbb_root_path = $phpbb_root_path;
- $this->phpEx = $phpEx;
+ $this->php_ext = $php_ext;
$this->config = $config;
$this->db = $db;
}
@@ -56,7 +56,7 @@ class phpbb_cron_task_core_prune_forum extends phpbb_cron_task_base implements p
{
if (!function_exists('auto_prune'))
{
- include($this->phpbb_root_path . 'includes/functions_admin.' . $this->phpEx);
+ include($this->phpbb_root_path . 'includes/functions_admin.' . $this->php_ext);
}
if ($this->forum_data['prune_days'])
diff --git a/phpBB/includes/cron/task/core/queue.php b/phpBB/includes/cron/task/core/queue.php
index 70db94f31d..1c5cd8c5db 100644
--- a/phpBB/includes/cron/task/core/queue.php
+++ b/phpBB/includes/cron/task/core/queue.php
@@ -22,12 +22,12 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_queue extends phpbb_cron_task_base
{
- private $phpbb_root_path, $phpEx, $config;
+ private $phpbb_root_path, $php_ext, $config;
- public function __construct($phpbb_root_path, $phpEx, phpbb_config $config)
+ public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
$this->phpbb_root_path = $phpbb_root_path;
- $this->phpEx = $phpEx;
+ $this->php_ext = $php_ext;
$this->config = $config;
}
@@ -40,7 +40,7 @@ class phpbb_cron_task_core_queue extends phpbb_cron_task_base
{
if (!class_exists('queue'))
{
- include($this->phpbb_root_path . 'includes/functions_messenger.' . $this->phpEx);
+ include($this->phpbb_root_path . 'includes/functions_messenger.' . $this->php_ext);
}
$queue = new queue();
$queue->process();
@@ -55,7 +55,7 @@ class phpbb_cron_task_core_queue extends phpbb_cron_task_base
*/
public function is_runnable()
{
- return file_exists($this->phpbb_root_path . 'cache/queue.' . $this->phpEx);
+ return file_exists($this->phpbb_root_path . 'cache/queue.' . $this->php_ext);
}
/**
diff --git a/phpBB/includes/cron/task/core/tidy_database.php b/phpBB/includes/cron/task/core/tidy_database.php
index 910e27cf20..d0e6c9a253 100644
--- a/phpBB/includes/cron/task/core/tidy_database.php
+++ b/phpBB/includes/cron/task/core/tidy_database.php
@@ -22,12 +22,12 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_database extends phpbb_cron_task_base
{
- private $phpbb_root_path, $phpEx, $config;
+ private $phpbb_root_path, $php_ext, $config;
- public function __construct($phpbb_root_path, $phpEx, phpbb_config $config)
+ public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
$this->phpbb_root_path = $phpbb_root_path;
- $this->phpEx = $phpEx;
+ $this->php_ext = $php_ext;
$this->config = $config;
}
@@ -40,7 +40,7 @@ class phpbb_cron_task_core_tidy_database extends phpbb_cron_task_base
{
if (!function_exists('tidy_database'))
{
- include($this->phpbb_root_path . 'includes/functions_admin.' . $this->phpEx);
+ include($this->phpbb_root_path . 'includes/functions_admin.' . $this->php_ext);
}
tidy_database();
}
diff --git a/phpBB/includes/cron/task/core/tidy_search.php b/phpBB/includes/cron/task/core/tidy_search.php
index 1b8a0b8151..fcd639cfee 100644
--- a/phpBB/includes/cron/task/core/tidy_search.php
+++ b/phpBB/includes/cron/task/core/tidy_search.php
@@ -24,12 +24,12 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_search extends phpbb_cron_task_base
{
- private $phpbb_root_path, $phpEx, $config;
+ private $phpbb_root_path, $php_ext, $config;
- public function __construct($phpbb_root_path, $phpEx, phpbb_config $config)
+ public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
$this->phpbb_root_path = $phpbb_root_path;
- $this->phpEx = $phpEx;
+ $this->php_ext = $php_ext;
$this->config = $config;
}
@@ -45,7 +45,7 @@ class phpbb_cron_task_core_tidy_search extends phpbb_cron_task_base
if (!class_exists($search_type))
{
- include($this->phpbb_root_path . "includes/search/$search_type." . $this->phpEx);
+ include($this->phpbb_root_path . "includes/search/$search_type." . $this->php_ext);
}
// We do some additional checks in the module to ensure it can actually be utilised
@@ -72,7 +72,7 @@ class phpbb_cron_task_core_tidy_search extends phpbb_cron_task_base
// Select the search method
$search_type = basename($this->config['search_type']);
- return file_exists($this->phpbb_root_path . 'includes/search/' . $search_type . '.' . $this->phpEx);
+ return file_exists($this->phpbb_root_path . 'includes/search/' . $search_type . '.' . $this->php_ext);
}
/**
diff --git a/phpBB/includes/cron/task/core/tidy_warnings.php b/phpBB/includes/cron/task/core/tidy_warnings.php
index 3b87a300d0..9d9139b950 100644
--- a/phpBB/includes/cron/task/core/tidy_warnings.php
+++ b/phpBB/includes/cron/task/core/tidy_warnings.php
@@ -24,12 +24,12 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_cron_task_core_tidy_warnings extends phpbb_cron_task_base
{
- private $phpbb_root_path, $phpEx, $config;
+ private $phpbb_root_path, $php_ext, $config;
- public function __construct($phpbb_root_path, $phpEx, phpbb_config $config)
+ public function __construct($phpbb_root_path, $php_ext, phpbb_config $config)
{
$this->phpbb_root_path = $phpbb_root_path;
- $this->phpEx = $phpEx;
+ $this->php_ext = $php_ext;
$this->config = $config;
}
@@ -42,7 +42,7 @@ class phpbb_cron_task_core_tidy_warnings extends phpbb_cron_task_base
{
if (!function_exists('tidy_warnings'))
{
- include($this->phpbb_root_path . 'includes/functions_admin.' . $this->phpEx);
+ include($this->phpbb_root_path . 'includes/functions_admin.' . $this->php_ext);
}
tidy_warnings();
}