summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/msgexport.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/msgexport.sh b/bin/msgexport.sh
index c876f5f10..e6c180188 100755
--- a/bin/msgexport.sh
+++ b/bin/msgexport.sh
@@ -34,7 +34,7 @@ function export_mailbox($mbox, $filename)
$IMAP->set_folder($mbox);
$index = $IMAP->index($mbox, null, 'ASC');
- $count = $index->countMessages();
+ $count = $index->count();
$index = $index->get();
vputs("Getting message list of {$mbox}...");