mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
worked on renaming of user dirs
This commit is contained in:
parent
154817313b
commit
b32d3748a5
@ -87,13 +87,15 @@
|
|||||||
change_owner("calendar","webcal_entry","cal_create_by",$n_loginid,$lid);
|
change_owner("calendar","webcal_entry","cal_create_by",$n_loginid,$lid);
|
||||||
change_owner("calendar","webcal_entry_user","cal_login",$n_loginid,$lid);
|
change_owner("calendar","webcal_entry_user","cal_login",$n_loginid,$lid);
|
||||||
|
|
||||||
$sep = $phpgw->common->filesystem_separator();
|
if ($lid <> $n_loginid) {
|
||||||
|
$sep = $phpgw->common->filesystem_separator();
|
||||||
|
|
||||||
$basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep
|
$basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep
|
||||||
. "users" . $sep;
|
. "users" . $sep;
|
||||||
|
|
||||||
if (! @rename($basedir . $lid, $basedir . $n_loginid)) {
|
if (! @rename($basedir . $lid, $basedir . $n_loginid)) {
|
||||||
$cd = 35;
|
$cd = 35;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user