diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-13 15:49:26 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-13 15:49:26 -0400 |
commit | e9e75fc9d5f44b2ffe10602a3bd183cccb7da4ec (patch) | |
tree | db1cd4be57f00bced05cd70528b224ef84c75adc /actions/featured.php | |
parent | 4237407cd9ba7b44be81cb506eddc4671605802a (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/featured.php')
-rw-r--r-- | actions/featured.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/featured.php b/actions/featured.php index 86fd3f374..79eba2aa6 100644 --- a/actions/featured.php +++ b/actions/featured.php @@ -50,7 +50,7 @@ class FeaturedAction extends Action { var $page = null; - function isReadOnly() + function isReadOnly($args) { return true; } |