Merge commit '808a866c8b' into webgui8. 7.9.4 release point
Conflicts: docs/upgrades/packages-7.9.3/root_import_gallery-templates_default-gallery-edit-album.wgpkg docs/upgrades/upgrade_7.9.2-7.9.3.pl lib/WebGUI.pm lib/WebGUI/Asset/MapPoint.pm lib/WebGUI/Asset/Wobject/Calendar.pm lib/WebGUI/Asset/Wobject/Gallery.pm lib/WebGUI/Asset/Wobject/GalleryAlbum.pm lib/WebGUI/Asset/Wobject/WikiMaster.pm lib/WebGUI/AssetClipboard.pm lib/WebGUI/AssetVersioning.pm lib/WebGUI/Auth.pm t/Asset/Asset.t
This commit is contained in:
commit
b30491f3a6
31 changed files with 1974 additions and 415 deletions
|
|
@ -306,9 +306,13 @@ sub www_runCronJob {
|
|||
}
|
||||
|
||||
# Run the instance
|
||||
$instance->start( 1 );
|
||||
$task->delete( 1 ) if ( $task->get("runOnce") );
|
||||
return "done";
|
||||
my $error = $instance->start( 1 );
|
||||
if ($error) {
|
||||
$task->delete(1);
|
||||
return "error";
|
||||
}
|
||||
$task->delete( 1 ) if ( $task->get("runOnce") );
|
||||
return "done";
|
||||
}
|
||||
$session->errorHandler->warn("No task ID passed to cron job runner.");
|
||||
return "error";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue