projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a74f49
)
non-static method was called statically, now defined static
author
Mikael Nordfeldth
<mmn@hethane.se>
Tue, 23 Jun 2015 11:24:19 +0000
(13:24 +0200)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Tue, 23 Jun 2015 11:24:19 +0000
(13:24 +0200)
plugins/Favorite/classes/Fave.php
patch
|
blob
|
history
diff --git
a/plugins/Favorite/classes/Fave.php
b/plugins/Favorite/classes/Fave.php
index 48ed3ba93bcb3d4a8accae430e4c054e2a0ef9f2..ab78478db5e43f237a2e4c7ec1964acd42970b2e 100644
(file)
--- a/
plugins/Favorite/classes/Fave.php
+++ b/
plugins/Favorite/classes/Fave.php
@@
-135,7
+135,7
@@
class Fave extends Managed_DataObject
return $result;
}
- function stream($user_id, $offset=0, $limit=NOTICES_PER_PAGE, $own=false, $since_id=0, $max_id=0)
+
static
function stream($user_id, $offset=0, $limit=NOTICES_PER_PAGE, $own=false, $since_id=0, $max_id=0)
{
$stream = new FaveNoticeStream($user_id, $own);