Author: axeld Date: 2009-10-15 16:40:58 +0200 (Thu, 15 Oct 2009) New Revision: 33601 Changeset: http://dev.haiku-os.org/changeset/33601/haiku Modified: haiku/trunk/src/servers/mail/main.cpp Log: * Removed a work-around for an older mail_daemon version that never made it to Haiku. Modified: haiku/trunk/src/servers/mail/main.cpp =================================================================== --- haiku/trunk/src/servers/mail/main.cpp 2009-10-15 14:40:06 UTC (rev 33600) +++ haiku/trunk/src/servers/mail/main.cpp 2009-10-15 14:40:58 UTC (rev 33601) @@ -617,15 +617,6 @@ || (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);