* 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:
parent
f802f04acf
commit
481e448812
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user