Limits number of localities displayed in autocomplete, when restricted to a single...
[platal.git] / modules / xnetgrp / feed.inc.php
index 95b421c..0e98197 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2010 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -23,7 +23,7 @@ class UserFilterIterator implements PlIterator
 {
     private $it;
     private $user;
-    public function __construct(PlIterator &$it, PlUser &$user)
+    public function __construct(PlIterator $it, PlUser $user)
     {
         $this->it =& $it;
         $this->user =& $user;
@@ -70,7 +70,7 @@ class XnetGrpEventFeed extends PlFeed
                             'xnetgrp/announce-rss.tpl');
     }
 
-    protected function fetch(PlUser &$user)
+    protected function fetch(PlUser $user)
     {
         global $globals;
         if (!is_null($user)) {