mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
added required params, to suppress warnings
This commit is contained in:
parent
9fe5314ed6
commit
2a62e73df1
@ -33,7 +33,7 @@ class vfs_home_hooks
|
|||||||
{
|
{
|
||||||
// create a user-dir
|
// create a user-dir
|
||||||
egw_vfs::$is_root = true;
|
egw_vfs::$is_root = true;
|
||||||
egw_vfs::mkdir($dir='/home/'.$data['account_lid']);
|
egw_vfs::mkdir($dir='/home/'.$data['account_lid'],0700,0);
|
||||||
egw_vfs::chown($dir,$data['account_id']);
|
egw_vfs::chown($dir,$data['account_id']);
|
||||||
egw_vfs::chgrp($dir,0);
|
egw_vfs::chgrp($dir,0);
|
||||||
egw_vfs::chmod($dir,0700); // only user has access
|
egw_vfs::chmod($dir,0700); // only user has access
|
||||||
@ -96,7 +96,7 @@ class vfs_home_hooks
|
|||||||
{
|
{
|
||||||
// create a group-dir
|
// create a group-dir
|
||||||
egw_vfs::$is_root = true;
|
egw_vfs::$is_root = true;
|
||||||
egw_vfs::mkdir($dir='/home/'.$data['account_name']);
|
egw_vfs::mkdir($dir='/home/'.$data['account_name'],070,0);
|
||||||
egw_vfs::chown($dir,0);
|
egw_vfs::chown($dir,0);
|
||||||
egw_vfs::chgrp($dir,$data['account_id']);
|
egw_vfs::chgrp($dir,$data['account_id']);
|
||||||
egw_vfs::chmod($dir,0070); // only group has access
|
egw_vfs::chmod($dir,0070); // only group has access
|
||||||
|
Loading…
Reference in New Issue
Block a user