Skip to content

Commit

Permalink
Fixed bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstuven committed Mar 30, 2012
1 parent 87a30d5 commit 253cec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/probe.php
Expand Up @@ -139,7 +139,7 @@ function enableForConsumer($consumerId, $interval, $probeKey) {

function stop($consumerId) {
if ($this->instant) {
$_this->enabled = false;
$this->enabled = false;
}
else {
if (isset($this->consumerTimers[$consumerId])) {
Expand Down
2 changes: 1 addition & 1 deletion lib/provider.php
Expand Up @@ -23,7 +23,7 @@ function __construct($config) {
$this->id = uniqid();
$this->config = $config;

$this->probes = (object) Array();
$this->probes = new stdClass();
if (isset($config['probes'])) {
foreach ($config['probes'] as $name => $args) {
if (gettype($args) !== 'array')
Expand Down

0 comments on commit 253cec1

Please sign in to comment.