<?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 *
'carnet/rss.tpl');
}
- protected function fetch($user)
+ protected function fetch(PlUser &$user)
{
- return new CarnetFeedIterator(new Notifs($user, false));
+ return new CarnetFeedIterator(new Notifs($user->id(), false));
}
}