NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Web] Fix refresh SOGo view on mailbox deletion

277a307f
FreddleSpl0it <[email protected]> 6 weeks ago
data/web/inc/functions.mailbox.inc.php | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Diff

diff --git a/data/web/inc/functions.mailbox.inc.php b/data/web/inc/functions.mailbox.inc.php
index 326f1a09..127374e8 100644
--- a/data/web/inc/functions.mailbox.inc.php
+++ b/data/web/inc/functions.mailbox.inc.php
@@ -3502,10 +3502,10 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
               'msg' => array('mailbox_modified', $username)
             );
 
-            // Track affected mailboxes for SOGo update
-            $update_sogo_mailboxes[] = $username;
-          }
-        break;
+            // Track affected mailboxes for SOGo update
+            $update_sogo_mailboxes[] = $username;
+          }
+        break;
         case 'mailbox_rename':
           $domain = $_data['domain'];
           $old_local_part = $_data['old_local_part'];
@@ -6126,7 +6126,6 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
             // Track affected mailboxes for SOGo update
             $update_sogo_mailboxes[] = $username;
           }
-          return true;
         break;
         case 'mailbox_templates':
           if ($_SESSION['mailcow_cc_role'] != "admin") {