Disable addons manager for server-only build.

No need to spam with downloading icons for add-ons.
This commit is contained in:
Deve
2018-06-09 00:38:10 +02:00
parent 68f8d524df
commit 05572b0084
12 changed files with 66 additions and 12 deletions

View File

@@ -18,6 +18,8 @@
\page addons Addons
*/
#ifndef SERVER_ONLY
#include "addons/addons_manager.hpp"
#include "addons/news_manager.hpp"
@@ -614,3 +616,4 @@ void AddonsManager::saveInstalled()
xml_installed.close();
} // saveInstalled
#endif