Changing Firstpass to do 500
This commit is contained in:
parent
aa6895af44
commit
feff586f65
|
|
@ -48,6 +48,10 @@ class EnquiriesController extends AppController {
|
|||
|
||||
$this->set('invoices', $this->Enquiry->Invoice->find('all', array('conditions' => array('Invoice.enquiry_id' => $id))));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//$this->set('files', $this->Enquiry->EnquiryFile->find('all', array('conditions' => array('EnquiryFile.enquiry_id'=>$id), 'order' => 'EnquiryFile.created ASC')));
|
||||
|
||||
/* Trying to optimise the queries for this part of the view - it's currently getting bogged down checking Email Attachments.
|
||||
|
|
|
|||
8
vendors/shells/firstpass.php
vendored
8
vendors/shells/firstpass.php
vendored
|
|
@ -72,8 +72,8 @@ class FirstpassShell extends Shell {
|
|||
|
||||
if($enqID == false) {
|
||||
echo "Deleting msg number: $i\tSubject: ".$message['subject']."\n";
|
||||
imap_delete($mbox, $i);
|
||||
//$discardArray[] = $i;
|
||||
//imap_delete($mbox, $i);
|
||||
$discardArray[] = $i;
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ class FirstpassShell extends Shell {
|
|||
|
||||
|
||||
reset($discardArray);
|
||||
/*
|
||||
|
||||
|
||||
$numberToDiscard= count($discardArray);
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ class FirstpassShell extends Shell {
|
|||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue