Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-01-05 01:22:37 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-01-12 05:02:22 +0300
commit7688f25ce902b1dda0a16b9680dec305de2ae815 (patch)
tree95b1c34f9c92a59ff2fa686f428d60338806aab3 /core/Scheduler
parent7292e0cae2e653b1d3dcf013301be93a392dca70 (diff)
Method renaming
Diffstat (limited to 'core/Scheduler')
-rw-r--r--core/Scheduler/Scheduler.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/Scheduler/Scheduler.php b/core/Scheduler/Scheduler.php
index 47b1b6bdea..68c78135ad 100644
--- a/core/Scheduler/Scheduler.php
+++ b/core/Scheduler/Scheduler.php
@@ -50,7 +50,7 @@ class Scheduler
* Is the scheduler running any task.
* @var bool
*/
- private $isRunning = false;
+ private $isRunningTask = false;
/**
* @var Timetable
@@ -108,9 +108,9 @@ class Scheduler
}
if ($shouldExecuteTask) {
- $this->isRunning = true;
+ $this->isRunningTask = true;
$message = $this->executeTask($task);
- $this->isRunning = false;
+ $this->isRunningTask = false;
$executionResults[] = array('task' => $taskName, 'output' => $message);
}
@@ -139,9 +139,9 @@ class Scheduler
*
* @return bool
*/
- public function isRunning()
+ public function isRunningTask()
{
- return $this->isRunning;
+ return $this->isRunningTask;
}
/**