insert cronjob task after changig ftp home directory, fixes #698

Signed-off-by: Christoph Burchert (Chb) <derchb@froxlor.org>
This commit is contained in:
Christoph Burchert (Chb) 2011-04-16 14:26:52 +02:00
parent 213e959568
commit 5c980946a9

View File

@ -324,6 +324,7 @@ elseif($page == 'accounts')
if(!file_exists($path))
{
mkDirWithCorrectOwnership($userinfo['documentroot'], $path, $result['uid'], $result['gid']);
inserttask(5); /* Let the cronjob do the rest */
}
$log->logAction(USR_ACTION, LOG_INFO, "updated ftp-account homdir for '" . $result['username'] . "'");