formatting

This commit is contained in:
Miles Lott 2002-05-26 20:22:24 +00:00
parent 2a6ff0ffd4
commit 3861b64b16
3 changed files with 333 additions and 341 deletions

View File

@ -21,6 +21,8 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
\**************************************************************************/
/* $Id$ */
class msg extends msg_base
{
/**************************************************************************\
@ -247,7 +249,6 @@
return $this->server_last_error_str;
}
/**************************************************************************\
* Functions NOT YET IMPLEMENTED
\**************************************************************************/
@ -349,7 +350,6 @@
return $empty_return;
}
/**************************************************************************\
* OPEN and CLOSE Server Connection
\**************************************************************************/
@ -1099,7 +1099,6 @@
}
*/
/**************************************************************************\
* Message Envelope (Header Info) Data
\**************************************************************************/
@ -1109,7 +1108,6 @@
return False;
}
/**************************************************************************\
* More Data Communications (dcom) With IMAP Server
\**************************************************************************/
@ -1123,7 +1121,6 @@
return False;
}
/**************************************************************************\
* Get Message Headers From Server
\**************************************************************************/
@ -1170,7 +1167,6 @@
return $field_element;
}
function fetch_field($start,$stop,$element)
{
if(!$this->write_port('a001 FETCH '.$start.':'.$stop.' '.$element))
@ -1190,7 +1186,6 @@
return $field_element;
}
/**************************************************************************\
* Get Message Body (Parts) From Server
\**************************************************************************/
@ -1210,7 +1205,5 @@
if ($this->debug >= 1) { echo 'imap: get_body<br>'; }
return False;
}
}
?>

View File

@ -1,7 +1,7 @@
<?php
/**************************************************************************\
* phpGroupWare Email - POP3 Mail Wrapper for Imap Enabled PHP *
* http://www.phpgroupware.org/ * *
* http://www.phpgroupware.org/ *
* -------------------------------------------------------------------------*
* This library is part of phpGroupWare (http://www.phpgroupware.org) *
* This library is free software; you can redistribute it and/or modify it *
@ -205,4 +205,3 @@
return $folder_str;
}
} // end of class msg

View File

@ -21,6 +21,8 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
\**************************************************************************/
/* $Id$ */
class msg extends msg_base
{
var $db;
@ -35,9 +37,7 @@
function login ($user,$passwd,$server,$port,$folder = '')
{
global $phpgw;
$this->db = $phpgw->db;
$this->db = $GLOBALS['phpgw']->db;
if(@!$server)
{