From 5c980946a9b282e9df150e6b26fd691c40d5b2f9 Mon Sep 17 00:00:00 2001 From: "Christoph Burchert (Chb)" Date: Sat, 16 Apr 2011 14:26:52 +0200 Subject: [PATCH] insert cronjob task after changig ftp home directory, fixes #698 Signed-off-by: Christoph Burchert (Chb) --- customer_ftp.php | 1 + 1 file changed, 1 insertion(+) diff --git a/customer_ftp.php b/customer_ftp.php index 5987f349..d17ac9f4 100644 --- a/customer_ftp.php +++ b/customer_ftp.php @@ -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'] . "'");