mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
export and import quota of users
This commit is contained in:
parent
d70c90e758
commit
eb9f0e7eda
|
@ -510,6 +510,7 @@ if($users) {
|
|||
echo " <attr name=\"disabled\">".$user->isDisabled()."</attr>\n";
|
||||
echo " <attr name=\"pwdexpiration\">".$user->getPwdExpiration()."</attr>\n";
|
||||
echo " <attr name=\"homefolder\">".$user->getHomeFolder()."</attr>\n";
|
||||
echo " <attr name=\"quota\">".$user->getQuota()."</attr>\n";
|
||||
if($image = $user->getImage()) {
|
||||
echo " <image id=\"".$image['id']."\">\n";
|
||||
echo " <attr name=\"mimetype\">".$image['mimeType']."</attr>\n";
|
||||
|
|
|
@ -132,7 +132,8 @@ function insert_user($user) { /* {{{ */
|
|||
$roleobj,
|
||||
$user['attributes']['hidden'],
|
||||
$user['attributes']['disabled'],
|
||||
$user['attributes']['pwdexpiration']);
|
||||
$user['attributes']['pwdexpiration'],
|
||||
$user['attributes']['quota']);
|
||||
if(!$newUser) {
|
||||
$logger->err("Could not add user");
|
||||
$logger->debug($dms->getDB()->getErrorMsg());
|
||||
|
|
Loading…
Reference in New Issue
Block a user