summaryrefslogtreecommitdiff
path: root/actions/twitapisearchjson.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:49:26 -0400
commite9e75fc9d5f44b2ffe10602a3bd183cccb7da4ec (patch)
treedb1cd4be57f00bced05cd70528b224ef84c75adc /actions/twitapisearchjson.php
parent4237407cd9ba7b44be81cb506eddc4671605802a (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/twitapisearchjson.php')
-rw-r--r--actions/twitapisearchjson.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapisearchjson.php b/actions/twitapisearchjson.php
index 0f9f523a1..b0e3be687 100644
--- a/actions/twitapisearchjson.php
+++ b/actions/twitapisearchjson.php
@@ -142,7 +142,7 @@ class TwitapisearchjsonAction extends TwitterapiAction
* @return boolean true
*/
- function isReadOnly()
+ function isReadOnly($args)
{
return true;
}