diff options
author | Simon Rettberg | 2024-10-11 15:42:00 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-10-11 15:42:00 +0200 |
commit | 13634e74f0632bcf805b47113a57ec80ece22ded (patch) | |
tree | 602a173520395b50e0dad4f0f764c994b6929db7 /modules-available | |
parent | [systemstatus] Filter more spam from lighttpd log (diff) | |
download | slx-admin-13634e74f0632bcf805b47113a57ec80ece22ded.tar.gz slx-admin-13634e74f0632bcf805b47113a57ec80ece22ded.tar.xz slx-admin-13634e74f0632bcf805b47113a57ec80ece22ded.zip |
[webinterface] API: Check callbacks immediately on success
This makes sure the web interface wont momentarily show outdated
information.
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/webinterface/api.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/webinterface/api.inc.php b/modules-available/webinterface/api.inc.php index e368b56d..0b4fabdb 100644 --- a/modules-available/webinterface/api.inc.php +++ b/modules-available/webinterface/api.inc.php @@ -36,4 +36,6 @@ if (Taskmanager::isFailed($task)) { ])); } -die('{"message":"OK"}');
\ No newline at end of file +echo '{"message":"OK"}'; +Trigger::checkCallbacks(); +exit;
\ No newline at end of file |