--- a/VirtualMailManager/VirtualMailManager.py Tue Apr 15 02:49:21 2008 +0000
+++ b/VirtualMailManager/VirtualMailManager.py Fri Apr 18 03:46:11 2008 +0000
@@ -490,6 +490,11 @@
info['disk usage'] = self.__getDiskUsage('%(maildir)s' % info)
return info
+ def user_byID(self, uid):
+ from Account import getAccountByID
+ self.__dbConnect()
+ return getAccountByID(uid, self.__dbh)
+
def user_password(self, emailaddress, password):
acc = self.__getAccount(emailaddress)
acc.modify('password', self.__pwhash(password))