Fix class constant name
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 17 Mar 2009 21:42:32 +0000 (17:42 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 17 Mar 2009 21:42:32 +0000 (17:42 -0400)
imp/ajax.php

index f23a7d4..470844e 100644 (file)
@@ -627,7 +627,7 @@ case 'PurgeDeleted':
     $change = _changed($mbox, $cacheid, $indices);
     if (!$change) {
         $sort = IMP::getSort($mbox);
-        $change = ($sort['by'] == SORTTHREAD);
+        $change = ($sort['by'] == Horde_Imap_Client::SORT_THREAD);
     }
     $imp_message = IMP_Message::singleton();
     $expunged = $imp_message->expungeMailbox(array($mbox => 1), array('list' => true));