From 481e448812c4d5f4d292e3b8d00d33838977ee85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 15 Oct 2009 14:40:58 +0000 Subject: [PATCH] * Removed a work-around for an older mail_daemon version that never made it to Haiku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33601 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/mail/main.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/servers/mail/main.cpp b/src/servers/mail/main.cpp index 449909b836..0ca3bb58fa 100644 --- a/src/servers/mail/main.cpp +++ b/src/servers/mail/main.cpp @@ -617,15 +617,6 @@ makeIndices() || (info.flags & B_FS_HAS_QUERY) == 0) continue; - // Work-around for misbehaviour of earlier versions - should be - // kept in for some time. - // It removes the B_MAIL_ATTR_FLAGS if it is of B_STRING_TYPE, - // because that's what the MDR created before... - index_info indexInfo; - if (fs_stat_index(device, B_MAIL_ATTR_FLAGS, &indexInfo) == 0 - && indexInfo.type == B_STRING_TYPE) - fs_remove_index(device, B_MAIL_ATTR_FLAGS); - for (int32 i = 0; stringIndices[i]; i++) fs_create_index(device, stringIndices[i], B_STRING_TYPE, 0);