mirror of https://github.com/Icinga/icinga2.git
parent
6e778c4947
commit
6c8bc20369
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue