summaryrefslogtreecommitdiff
path: root/actions/userrss.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-13 15:49:26 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-13 15:55:25 -0400
commit7f81597a8146e0fa5f062cf42a30c86914877ec5 (patch)
tree0f439bc90820194a9db6e4aba9aa90621fad9305 /actions/userrss.php
parentd1458a691414e7a01c60c29fbd7ff2bc1c67bbdc (diff)
isReadOnly() now takes arguments
Add an array of arguments to isReadOnly() method of actions, to let them change their results depending on what actions are called. Primarily used by the 'api' action. Ideally in the future that will be multiple actions. But this might still be useful.
Diffstat (limited to 'actions/userrss.php')
-rw-r--r--actions/userrss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/userrss.php b/actions/userrss.php
index d3bf352d8..5861d9ee3 100644
--- a/actions/userrss.php
+++ b/actions/userrss.php
@@ -96,7 +96,7 @@ class UserrssAction extends Rss10Action
parent::initRss($limit);
}
- function isReadOnly()
+ function isReadOnly($args)
{
return true;
}