-
- Downloads
account: delete filesystem traces of an account
This patch adds a new virtual API to Account, flush(), that does nothing by default. Concrete classes may overload it when it's needed to remove filesystem entries created by them. Then this patch adds also overloads of this method in SIPAccountBase and RingAccount to delete all files added by these account classes. Finaly, the removeAccount() external API calls flush by default, but internal calls do not, to keep a conservative behaviour and not destroying account files due to yml parsing errors. Change-Id: I52c4e225f4d41f0e3d74f63838e56a769011b58e Tuleap: #988
Showing
- src/account.h 7 additions, 0 deletionssrc/account.h
- src/client/configurationmanager.cpp 1 addition, 1 deletionsrc/client/configurationmanager.cpp
- src/fileutils.cpp 30 additions, 1 deletionsrc/fileutils.cpp
- src/fileutils.h 14 additions, 0 deletionssrc/fileutils.h
- src/manager.cpp 3 additions, 1 deletionsrc/manager.cpp
- src/manager.h 2 additions, 1 deletionsrc/manager.h
- src/ringdht/ringaccount.cpp 12 additions, 1 deletionsrc/ringdht/ringaccount.cpp
- src/ringdht/ringaccount.h 3 additions, 0 deletionssrc/ringdht/ringaccount.h
- src/sip/sipaccountbase.cpp 9 additions, 0 deletionssrc/sip/sipaccountbase.cpp
- src/sip/sipaccountbase.h 3 additions, 0 deletionssrc/sip/sipaccountbase.h
Loading
Please register or sign in to comment