forked from extern/egroupware
worked on renaming of group dirs
This commit is contained in:
parent
279c9181ab
commit
154817313b
@ -59,6 +59,8 @@
|
|||||||
|
|
||||||
$sep = $phpgw->common->filesystem_separator();
|
$sep = $phpgw->common->filesystem_separator();
|
||||||
|
|
||||||
|
|
||||||
|
if ($old_group_name <> $n_group) {
|
||||||
$basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep . "groups" . $sep;
|
$basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep . "groups" . $sep;
|
||||||
|
|
||||||
if (! @rename($basedir . $old_group_name, $basedir . $n_group)) {
|
if (! @rename($basedir . $old_group_name, $basedir . $n_group)) {
|
||||||
@ -66,6 +68,9 @@
|
|||||||
} else {
|
} else {
|
||||||
$cd = 33;
|
$cd = 33;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$cd = 33;
|
||||||
|
}
|
||||||
|
|
||||||
$phpgw->db->unlock();
|
$phpgw->db->unlock();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user