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:
authordiosmosis <benakamoorthi@fastmail.fm>2013-11-01 17:27:09 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2013-11-01 17:27:09 +0400
commitd8cff3575059abd6636b13d07dcf83551b5e3841 (patch)
tree0f23945ea0ffaf0d34c4c985fbc90947e494a457 /core/ScheduledTask.php
parent6ad190a3409f7edfc9240a8ca84bf70ddb7e4cda (diff)
Fixing build.
Diffstat (limited to 'core/ScheduledTask.php')
-rw-r--r--core/ScheduledTask.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ScheduledTask.php b/core/ScheduledTask.php
index 1aa3c55471..b5d33feab7 100644
--- a/core/ScheduledTask.php
+++ b/core/ScheduledTask.php
@@ -86,9 +86,9 @@ class ScheduledTask
public function __construct($objectInstance, $methodName, $methodParameter, ScheduledTime $scheduledTime,
$priority = self::NORMAL_PRIORITY)
{
- $this->className = $this->getClassNameFromInstance($_objectInstance);
+ $this->className = $this->getClassNameFromInstance($objectInstance);
- if ($_priority < self::HIGHEST_PRIORITY || $_priority > self::LOWEST_PRIORITY) {
+ if ($priority < self::HIGHEST_PRIORITY || $priority > self::LOWEST_PRIORITY) {
throw new Exception("Invalid priority for ScheduledTask '$this->className.$methodName': $priority");
}