Title: [opsview] [9522] Removed some debugs.
- Revision
- 9522
- Author
- pknight
- Date
- 2012-07-10 14:50:04 +0100 (Tue, 10 Jul 2012)
Log Message
Removed some debugs.
Modified Paths
Modified: trunk/opsview-web/lib/Opsview/Web/Controller/REST/Status.pm
===================================================================
--- trunk/opsview-web/lib/Opsview/Web/Controller/REST/Status.pm 2012-07-10 13:49:05 UTC (rev 9521)
+++ trunk/opsview-web/lib/Opsview/Web/Controller/REST/Status.pm 2012-07-10 13:50:04 UTC (rev 9522)
@@ -216,17 +216,13 @@
}
);
if ( ( $s->host->monitored_by || 0 ) == 1 ) {
- $c->log->debug( 'PK - ' . "Sending to master" );
eval { $result = $command->send_to_master };
}
else {
- $c->log->debug( 'PK - ' . "Sending to slave" );
eval { $result = $command->send_to_slaves };
}
if ( !$@ ) {
push @{ $c->stash->{done_services} }, $s;
-
- # $c->res->redirect( $c->req->param("from") || $c->req->referer );
}
else {
my $error = $@;
@@ -256,6 +252,7 @@
my $data = "" || $c->req->data || {};
my $comment = $data->{comment} || $params->{comment};
$comment = Opsview::Common->clean_comment($comment);
+
unless ($comment) {
push @errors, $c->loc( "ui.downtime.help.commentEmpty" );
}
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins