fixing typos
This commit is contained in:
parent
d4753a95b9
commit
af9fc4a390
3 changed files with 5 additions and 9 deletions
|
|
@ -372,7 +372,7 @@ sub runJob {
|
|||
$self->debug("Preparing to run a scheduled job ".$job->{taskId}.".");
|
||||
POE::Component::Client::UserAgent->new;
|
||||
if ($job->{sitename} eq "" || $job->{config} eq "" || $job->{taskId} eq "") {
|
||||
$self->error("Warning: A scheduled task has corrupt information and is nat able to be run. Skipping execution.");
|
||||
$self->error("Warning: A scheduled task has corrupt information and is not able to be run. Skipping execution.");
|
||||
$kernel->yield("deleteJob",{config=>$job->{config}, taskId=>$job->{taskId}}) if ($job->{config} ne "" && $job->{taskId} ne "");
|
||||
} else {
|
||||
my $url = "http://".$job->{sitename}.':'.$self->config->get("webguiPort").$job->{gateway};
|
||||
|
|
@ -422,7 +422,7 @@ sub runJobResponse {
|
|||
$self->debug("Got an error response for scheduled task $config / $taskId, will try again in ".$self->config->get("suspensionDelay")." seconds.");
|
||||
$kernel->delay_set("runJob",$self->config->get("suspensionDelay"),$job);
|
||||
} else {
|
||||
$self->error("Something bad happened on the return of scheduled task $config / $taskId, will try again in ".$self->config->get("suspensionDelay").". ".$response->error_as_HTML);
|
||||
$self->error("Something bad happened on the return of scheduled task $config / $taskId, will try again in ".$self->config->get("suspensionDelay")." seconds. ".$response->error_as_HTML);
|
||||
$kernel->delay_set("runJob",$self->config->get("suspensionDelay"),$job);
|
||||
}
|
||||
} elsif ($response->is_redirect) {
|
||||
|
|
|
|||
|
|
@ -354,7 +354,7 @@ sub get {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getAdminConsole ()
|
||||
=head2 getAdminConsole ( )
|
||||
|
||||
Returns a reference to a WebGUI::AdminConsole object.
|
||||
|
||||
|
|
@ -401,7 +401,7 @@ sub getAssetAdderLinks {
|
|||
#use Data::Dumper; print Dumper($newAsset);
|
||||
my $uiLevel = eval{$newAsset->getUiLevel()};
|
||||
if ($@) {
|
||||
$self->session->errorHandler->error("Couldn't get UI level of ".$class."because ".$@);
|
||||
$self->session->errorHandler->error("Couldn't get UI level of ".$class.". Root cause: ".$@);
|
||||
next;
|
||||
} else {
|
||||
next if ($uiLevel > $self->session->user->profileField("uiLevel") && !$self->session->user->isInGroup(3));
|
||||
|
|
@ -463,7 +463,7 @@ sub getAssetAdderLinks {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getContainer ()
|
||||
=head2 getContainer ( )
|
||||
|
||||
Returns a reference to the container asset. If this asset is a container it returns a reference to itself. If this asset is not attached to a container it returns its parent.
|
||||
|
||||
|
|
|
|||
|
|
@ -56,10 +56,6 @@ sub DESTROY {
|
|||
|
||||
Sends a message to Spectre.
|
||||
|
||||
=head3 session
|
||||
|
||||
A reference to the current session.
|
||||
|
||||
=head3 module
|
||||
|
||||
The module/method pair you wish to communicate with in Spectre.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue