ido: Clean up newlines.

This commit is contained in:
Gunnar Beutner 2013-08-09 14:26:17 +02:00
parent 1b31e54e05
commit be35ad8a48
1 changed files with 2 additions and 2 deletions

View File

@ -216,6 +216,7 @@ void ServiceDbObject::OnConfigUpdate(void)
OnQuery(query_del2);
Dictionary::Ptr customvars;
{
ObjectLock olock(service);
customvars = CompatUtility::GetCustomVariableConfig(service);
@ -287,7 +288,6 @@ void ServiceDbObject::OnStatusUpdate(void)
void ServiceDbObject::CommentsChangedHandler(const Service::Ptr& svcfilter, const String& id, CommentChangedType type)
{
if (type == CommentChangedUpdated || type == CommentChangedDeleted) {
/* we cannot determine which comment id is deleted
* ido schema does not store legacy id
*/
@ -309,7 +309,6 @@ void ServiceDbObject::CommentsChangedHandler(const Service::Ptr& svcfilter, cons
AddComments(service);
}
} else if (type == CommentChangedAdded) {
Dictionary::Ptr comment = Service::GetCommentByID(id);
AddComment(svcfilter, comment);
} else {
@ -430,3 +429,4 @@ void ServiceDbObject::DeleteComments(const Service::Ptr& service)
}
}