mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Admin: change delete user filemanager hook to move home dir, but only search /home for other files
- Translation from Birgit
This commit is contained in:
parent
091ce6dea7
commit
8b503dbae3
@ -325,7 +325,7 @@ class admin_account
|
|||||||
$app = 'filemanager';
|
$app = 'filemanager';
|
||||||
$sel_options['delete_apps'][] = array(
|
$sel_options['delete_apps'][] = array(
|
||||||
'value' => $app,
|
'value' => $app,
|
||||||
'label' => lang($app) . ': ' . lang('home directory')
|
'label' => lang($app) . ': /home'
|
||||||
);
|
);
|
||||||
$content['delete_apps'][] = $app;
|
$content['delete_apps'][] = $app;
|
||||||
}
|
}
|
||||||
|
@ -201,6 +201,7 @@ change config settings admin de Konfiguration der Anwendung ändern
|
|||||||
change domain of email address and aliases admin de ändert Domain von E-Mail-Adressen oder Aliase
|
change domain of email address and aliases admin de ändert Domain von E-Mail-Adressen oder Aliase
|
||||||
change login screen message admin de Nachricht der Startseite ändern
|
change login screen message admin de Nachricht der Startseite ändern
|
||||||
change owner admin de Besitzer ändern
|
change owner admin de Besitzer ändern
|
||||||
|
change owner of found files to the new user, and move the home folder to /home/new-user/old-home-username. admin de Ändert den Besitzer der gefundenen Dateien in /home auf den neuen Benutzer und verschiebt den Benutzerordner in /home/new-user/old-home-username.
|
||||||
change password for %1 admin de Ändern des Passworts für %1
|
change password for %1 admin de Ändern des Passworts für %1
|
||||||
change password hash to admin de Passwort Verschlüsselung ändern in
|
change password hash to admin de Passwort Verschlüsselung ändern in
|
||||||
changed password hash for %1 to %2. admin de Passwort Verschlüsselung für %1 ändern in %2.
|
changed password hash for %1 to %2. admin de Passwort Verschlüsselung für %1 ändern in %2.
|
||||||
|
@ -201,7 +201,7 @@ change config settings admin en Change config settings
|
|||||||
change domain of email address and aliases admin en change domain of email address and aliases
|
change domain of email address and aliases admin en change domain of email address and aliases
|
||||||
change login screen message admin en Change login screen message
|
change login screen message admin en Change login screen message
|
||||||
change owner admin en Change owner
|
change owner admin en Change owner
|
||||||
change owner of found files to the new user, and move the home folder to /home/new-user/old-home-username. admin en Found files will have owner changed to the new user. The home folder will be moved to /home/new-user/old-home-username.
|
change owner of found files to the new user, and move the home folder to /home/new-user/old-home-username. admin en Files in /home will have owner changed to the new user. The home folder will be moved to /home/new-user/old-home-username.
|
||||||
change password for %1 admin en Change password for %1
|
change password for %1 admin en Change password for %1
|
||||||
change password hash to admin en Change password hash to
|
change password hash to admin en Change password hash to
|
||||||
changed password hash for %1 to %2. admin en Changed password hash for %1 to %2.
|
changed password hash for %1 to %2. admin en Changed password hash for %1 to %2.
|
||||||
|
@ -110,9 +110,9 @@ class Hooks
|
|||||||
throw new Api\Exception\AssertionFailed(__METHOD__.'('.array2string($data).') account_lid NOT set!');
|
throw new Api\Exception\AssertionFailed(__METHOD__.'('.array2string($data).') account_lid NOT set!');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Other files
|
// Other files in home
|
||||||
Api\Vfs::find(
|
Api\Vfs::find(
|
||||||
'/',
|
'/home',
|
||||||
array('user' => $data['account_lid']),
|
array('user' => $data['account_lid']),
|
||||||
$data['new_owner'] ? 'EGroupware\Api\Vfs::chown' : 'EGroupware\Api\Vfs::remove', $data['new_owner']
|
$data['new_owner'] ? 'EGroupware\Api\Vfs::chown' : 'EGroupware\Api\Vfs::remove', $data['new_owner']
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user