Skip to content

Commit 8515f82

Browse files
committed
tools: let exmdb auto-assign PR_LAST_MODIFICATION_TIME
Since exmdb now assigns modtime, no need for tools do it apriori.
1 parent ae86da4 commit 8515f82

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tools/genimport.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,12 +393,6 @@ int exm_create_msg(uint64_t parent_fld, MESSAGE_CONTENT *ctnt)
393393
return -ENOMEM;
394394
}
395395
auto props = &ctnt->proplist;
396-
if (!props->has(PR_LAST_MODIFICATION_TIME)) {
397-
auto last_time = rop_util_current_nttime();
398-
auto ret = props->set(PR_LAST_MODIFICATION_TIME, &last_time);
399-
if (ret != 0)
400-
return ret;
401-
}
402396
int ret;
403397
if ((ret = props->set(PidTagMid, &msg_id)) != 0 ||
404398
(ret = props->set(PidTagChangeNumber, &change_num)) != 0 ||

0 commit comments

Comments
 (0)