Skip to content

Commit

Permalink
[addons] always show auto-disable notification regardless of setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tamland committed Feb 19, 2017
1 parent 04ce45e commit 3243794
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xbmc/addons/AddonInstaller.cpp
Expand Up @@ -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!
Expand Down

0 comments on commit 3243794

Please sign in to comment.