From 664f2d7428d653f9d8aab36deef7268ca5ed4ab4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 9 Nov 2009 15:47:21 +0100 Subject: make "InformAllUsers" crashes be recorded with UID=-1 in db this makes them show up in GUI again Signed-off-by: Denys Vlasenko --- src/Daemon/MiddleWare.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Daemon/MiddleWare.h') diff --git a/src/Daemon/MiddleWare.h b/src/Daemon/MiddleWare.h index 0671dd0..4eb0135 100644 --- a/src/Daemon/MiddleWare.h +++ b/src/Daemon/MiddleWare.h @@ -124,7 +124,9 @@ std::string DeleteCrashInfo(const char *pUUID, * @param pDebugDumpDir A debugdump directory. * @return It return results of operation. See mw_result_t. */ -mw_result_t SaveDebugDump(const char *pDebugDumpDir); +// Ok to remove? +//mw_result_t SaveDebugDump(const char *pDebugDumpDir); + /** * Saves debugdump into database. If saving is successful, * it fills crash info. @@ -171,5 +173,6 @@ void AddAnalyzerActionOrReporter(const char *pAnalyzer, void AddActionOrReporter(const char *pActionOrReporter, const char *pArgs); +bool analyzer_has_InformAllUsers(const char *analyzer_name); #endif /*MIDDLEWARE_H_*/ -- cgit From 324e1c37631ac28d79a1d88e30c74c5a0a819958 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 9 Nov 2009 15:48:48 +0100 Subject: remove unused version of SaveDebugDump() Signed-off-by: Denys Vlasenko --- src/Daemon/MiddleWare.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/Daemon/MiddleWare.h') diff --git a/src/Daemon/MiddleWare.h b/src/Daemon/MiddleWare.h index 4eb0135..ac042de 100644 --- a/src/Daemon/MiddleWare.h +++ b/src/Daemon/MiddleWare.h @@ -119,14 +119,6 @@ void DeleteDebugDumpDir(const char *pDebugDumpDir); */ std::string DeleteCrashInfo(const char *pUUID, const char *pUID); -/** - * Saves debugdump into database. - * @param pDebugDumpDir A debugdump directory. - * @return It return results of operation. See mw_result_t. - */ -// Ok to remove? -//mw_result_t SaveDebugDump(const char *pDebugDumpDir); - /** * Saves debugdump into database. If saving is successful, * it fills crash info. -- cgit