projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes deprecated features in PHP 5.3.x.
[platal.git]
/
classes
/
plfeed.php
diff --git
a/classes/plfeed.php
b/classes/plfeed.php
index
ce9ea08
..
74d6bea
100644
(file)
--- a/
classes/plfeed.php
+++ b/
classes/plfeed.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
0
Polytechnique.org *
+ * Copyright (C) 2003-201
1
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-69,7
+69,7
@@
abstract class PlFeed implements PlIterator
/** Fetch the feed for the given user.
*/
/** Fetch the feed for the given user.
*/
- abstract protected function fetch(PlUser
&
$user);
+ abstract protected function fetch(PlUser $user);
public function next()
{
public function next()
{
@@
-95,7
+95,7
@@
abstract class PlFeed implements PlIterator
return $this->iterator->last();
}
return $this->iterator->last();
}
- public function run(PlPage
& $page, PlUser&
$user, $require_auth = true, $type = 'rss2')
+ public function run(PlPage
$page, PlUser
$user, $require_auth = true, $type = 'rss2')
{
if (empty($user) && $require_auth) {
return PL_FORBIDDEN;
{
if (empty($user) && $require_auth) {
return PL_FORBIDDEN;