require_once("include/groups.inc.php");
require_once("include/format.inc.php");
require_once("include/error.inc.php");
-require_once("include/post.inc.php");
class Banana
{
var $nntp;
var $spool;
+ var $post;
function Banana()
{
if (!$this->spool) { error('nntpspool'); }
}
+ function newPost($id)
+ {
+ require_once("include/post.inc.php");
+ $this->post = new BananaPost($id);
+ }
+
function _setupProfile()
{
if (function_exists('hook_getprofile')) {