From dafd9a18a4b1573ff536e3db851e9e40a345c201 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 11 Apr 2021 12:19:07 +0300 Subject: custom references to "PluginDisable" module removed --- plugins/CrashDumper/src/utils.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/CrashDumper/src/utils.cpp') diff --git a/plugins/CrashDumper/src/utils.cpp b/plugins/CrashDumper/src/utils.cpp index 8b59693f01..b67f389f15 100644 --- a/plugins/CrashDumper/src/utils.cpp +++ b/plugins/CrashDumper/src/utils.cpp @@ -415,12 +415,3 @@ void StoreStringToClip(CMStringW& buffer) CloseClipboard(); } } - -bool IsPluginEnabled(wchar_t* filename) -{ - char* fname; - crsi_t2a(fname, filename); - char* ext = strstr(_strlwr(fname), ".dll"); - bool res = ext && ext[4] == '\0' && db_get_b(0, "PluginDisable", fname, 0) == 0; - return res; -} -- cgit v1.2.3