commit | d1f5b68b557869443f559de96824b2d2aee3b3e7 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Nov 18 13:18:30 2023 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Nov 18 16:06:12 2023 +0100 |
tree | daf0480f405c51ee4765fdf13584d015281ccd10 | |
parent | d02ba580d49460c48886def8d315a5c20f989c50 [diff] [blame] |
git subrepo commit (merge) mailcow/src/mailcow-dockerized subrepo: subdir: "mailcow/src/mailcow-dockerized" merged: "c7b1dc37" upstream: origin: "https://github.com/mailcow/mailcow-dockerized.git" branch: "master" commit: "a366494c" git-subrepo: version: "0.4.6" origin: "???" commit: "???" Change-Id: Id574ecd4e02e3c4fbf8a1efd49be11c0b6d19a3f
diff --git a/mailcow/src/mailcow-dockerized/data/web/inc/functions.docker.inc.php b/mailcow/src/mailcow-dockerized/data/web/inc/functions.docker.inc.php index 78efac0..5b5b7ac 100644 --- a/mailcow/src/mailcow-dockerized/data/web/inc/functions.docker.inc.php +++ b/mailcow/src/mailcow-dockerized/data/web/inc/functions.docker.inc.php
@@ -192,5 +192,16 @@ } return false; break; + case 'broadcast': + $request = array( + "api_call" => "container_post", + "container_name" => $service_name, + "post_action" => $attr1, + "request" => $attr2 + ); + + $redis->publish("MC_CHANNEL", json_encode($request)); + return true; + break; } }