diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-07-28 16:00:44 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-07-28 16:00:44 +0000 |
commit | 78c5803fb83f8dc5f682bdd9cda1f9cc1d05021e (patch) | |
tree | 806f6f624a0eba35ef2234c23324808527da6f2a /USER | |
parent | f79511b649fe55d2a1fa1fb57196c09a38c3e0d2 (diff) | |
download | userdrake-78c5803fb83f8dc5f682bdd9cda1f9cc1d05021e.tar userdrake-78c5803fb83f8dc5f682bdd9cda1f9cc1d05021e.tar.gz userdrake-78c5803fb83f8dc5f682bdd9cda1f9cc1d05021e.tar.bz2 userdrake-78c5803fb83f8dc5f682bdd9cda1f9cc1d05021e.tar.xz userdrake-78c5803fb83f8dc5f682bdd9cda1f9cc1d05021e.zip |
- split Clean entity to CleanHome and CleanSpool
Diffstat (limited to 'USER')
-rw-r--r-- | USER/USER.xs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/USER/USER.xs b/USER/USER.xs index ceadda3..f5f78b2 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -849,7 +849,7 @@ Admin_GetUserShells(self) RETVAL void -Admin_Clean(self, ent) +Admin_CleanHome(self, ent) USER::ADMIN *self USER::ENT *ent PPCODE: @@ -867,7 +867,12 @@ Admin_Clean(self, ent) croak("Home Directory Could Not be deleted: %s.\n", error ? error->string : "Unknown error"); } } - /* Delete the mail spool for the user. */ + +void +Admin_CleanSpool(self, ent) + USER::ADMIN *self + USER::ENT *ent + PPCODE: if (lu_mailspool_create_remove(self, ent, 0) != 1) { warn(_("Error deleting mail spool.\n")); } |