core, plugin Maildir: added "ProfileCreation" Trigger

This trigger is user by maildir to create account data for the new profile
This commit is contained in:
Goffi 2011-01-18 01:07:12 +01:00
commit d1ae81f4c7

View file

@ -131,6 +131,8 @@ class Param():
if self.params.has_key(name):
info (_('The profile name already exists'))
return 1
if not self.host.trigger.point("ProfileCreation", name):
return 0
self.params[name]={}
return 0