diff options
Diffstat (limited to 'OpenSim/Addons/OfflineIM/Service/OfflineIMService.cs')
-rw-r--r-- | OpenSim/Addons/OfflineIM/Service/OfflineIMService.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Addons/OfflineIM/Service/OfflineIMService.cs b/OpenSim/Addons/OfflineIM/Service/OfflineIMService.cs index df0c53f..690c955 100644 --- a/OpenSim/Addons/OfflineIM/Service/OfflineIMService.cs +++ b/OpenSim/Addons/OfflineIM/Service/OfflineIMService.cs | |||
@@ -124,5 +124,12 @@ namespace OpenSim.OfflineIM | |||
124 | return m_Database.Store(data); | 124 | return m_Database.Store(data); |
125 | 125 | ||
126 | } | 126 | } |
127 | |||
128 | public void DeleteMessages(UUID userID) | ||
129 | { | ||
130 | m_Database.Delete("PrincipalID", userID.ToString()); | ||
131 | m_Database.Delete("FromID", userID.ToString()); | ||
132 | } | ||
133 | |||
127 | } | 134 | } |
128 | } | 135 | } |