* 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
This commit is contained in:
Axel Dörfler 2009-10-15 14:40:58 +00:00
parent f802f04acf
commit 481e448812

View File

@ -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);