diff --git a/app/controllers/documents_controller.php b/app/controllers/documents_controller.php index 139edc81..0b88fc58 100755 --- a/app/controllers/documents_controller.php +++ b/app/controllers/documents_controller.php @@ -811,28 +811,6 @@ ENDINSTRUCTIONS; - /** - * Email the PDF(document + attachments) for this Document to a Recipient (Customer or Principle). - * - * - * @param $id - Document ID - */ - function email_pdf($id) { - - //Setup the SMTP Options - $this->Email->smtpOptions = Configure::read('smtp_settings'); - $this->Email->delivery = 'smtp'; - - $document = $this->Document->read(null,$id); - - if(empty($document['Document']['pdf_filename'])) { - -<<<<<<< HEAD - } - - - } - function pdf($id = null) { //Configure::write('debug',0);