File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ function user_update($event_name,$data) {
116116
117117 // Move mailbox, if domain has changed and delete old mailbox
118118 if ($ data ['new ' ]['maildir ' ] != $ data ['old ' ]['maildir ' ] && is_dir ($ data ['old ' ]['maildir ' ])) {
119- exec ('mv -f ' .escapeshellcmd ($ data ['old ' ]['maildir ' ]).'* ' .escapeshellcmd ($ data ['new ' ]['maildir ' ]));
119+ exec ('mv -f ' .escapeshellcmd ($ data ['old ' ]['maildir ' ]).'/ * ' .escapeshellcmd ($ data ['new ' ]['maildir ' ]));
120120 if (is_file ($ data ['old ' ]['maildir ' ].'.ispconfig_mailsize ' ))exec ('mv -f ' .escapeshellcmd ($ data ['old ' ]['maildir ' ]).'.ispconfig_mailsize ' .escapeshellcmd ($ data ['new ' ]['maildir ' ]));
121121 rmdir ($ data ['old ' ]['maildir ' ]);
122122 $ app ->log ('Moved Maildir from: ' .$ data ['old ' ]['maildir ' ].' to ' .$ data ['new ' ]['maildir ' ],LOGLEVEL_DEBUG );
You can’t perform that action at this time.
0 commit comments