Use Utility::NaturalJoin for notification filter formatting

refs #8685
This commit is contained in:
Michael Friedrich 2015-03-19 14:08:06 +01:00
parent 6e778c4947
commit 6c8bc20369
1 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@
#include "base/scriptglobal.hpp"
#include "base/function.hpp"
#include <boost/foreach.hpp>
#include <boost/algorithm/string.hpp>
using namespace icinga;
@ -571,7 +570,7 @@ std::vector<String> icinga::FilterIntToArray(int iFilter)
String Notification::NotificationFilterToString(int filter)
{
return "'" + boost::algorithm::join(FilterIntToArray(filter), "', '") + "'";
return Utility::NaturalJoin(FilterIntToArray(filter));
}
/* internal for logging */