aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Amland <thomas.amland@gmail.com>2017-02-19 11:21:28 +0100
committerThomas Amland <thomas.amland@gmail.com>2017-02-19 11:21:28 +0100
commit32437940064693b2b5b1ac8285694147c4becbb6 (patch)
tree81f43f9c7be3176ada99857275fcc6107595b064
parent04ce45e863c5ce5105ec568324e0902f639ba1ff (diff)
[addons] always show auto-disable notification regardless of setting
-rw-r--r--xbmc/addons/AddonInstaller.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xbmc/addons/AddonInstaller.cpp b/xbmc/addons/AddonInstaller.cpp
index 55d300904d..248eead215 100644
--- a/xbmc/addons/AddonInstaller.cpp
+++ b/xbmc/addons/AddonInstaller.cpp
@@ -635,10 +635,7 @@ bool CAddonInstallJob::DoWork()
{
CLog::Log(LOGDEBUG, "CAddonInstallJob[%s]: auto-disabling due to being marked as broken", m_addon->ID().c_str());
CAddonMgr::GetInstance().DisableAddon(m_addon->ID());
- CEventLog::GetInstance().Add(
- EventPtr(new CAddonManagementEvent(m_addon, 24094)),
- CServiceBroker::GetSettings().GetBool(CSettings::SETTING_ADDONS_NOTIFICATIONS),
- false);
+ CEventLog::GetInstance().Add(EventPtr(new CAddonManagementEvent(m_addon, 24094)), true, false);
}
// and we're done!