<?php
/***************************************************************************
- * Copyright (C) 2003-2008 Polytechnique.org *
+ * Copyright (C) 2003-2009 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
// }}}
// {{{ constructor
- public function __construct(User $sender, User $mark, $email, $perso, $type, $data)
+ public function __construct(User &$sender, User &$mark, $email, $perso, $type, $data)
{
parent::__construct($sender, false, 'marketing');
- $this->m_user = $mark;
+ $this->m_user = &$mark;
$this->m_email = $email;
$this->perso = $perso;
$this->m_type = $type;