* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Exception
- * @package GNUSocial
+ * @package GNUsocial
* @author Mikael Nordfeldth <mmn@hethane.se>
* @copyright 2013 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3
class NoAvatarException extends NoResultException
{
- public function __construct(Profile $target, Avatar $avatar)
+ public $target;
+
+ public function __construct(Profile $target, Avatar $obj)
{
- parent::__construct($avatar);
+ $this->target = $target;
+ parent::__construct($obj);
}
}