diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-12-03 12:32:25 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-12-03 12:32:25 -0500 |
commit | 96df5916ad2cb29d81c6114d7345c4b3381e27c8 (patch) | |
tree | 685f9b2e0b78e530f30298418b70cde3dddb849e /lib | |
parent | 54df7dcbbd0dd6be05551edef9fa2546c16b3536 (diff) |
change Action::init() to Action::prepare() to avoid conflict with RSS10Action::init()
darcs-hash:20081203173225-5ed1f-e5ebfb202ed4a84c90851d0faa025ad09774d2c3.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/action.php b/lib/action.php index 16959c53a..7a2461bb5 100644 --- a/lib/action.php +++ b/lib/action.php @@ -28,7 +28,7 @@ class Action { // lawsuit # For initializing members of the class - function init($argarray) { + function prepare($argarray) { $this->args =& common_copy_args($argarray); return true; } @@ -61,7 +61,7 @@ class Action { // lawsuit return (is_string($arg)) ? trim($arg) : $arg; } - # Note: argarray ignored, since it's now passed in in init() + # Note: argarray ignored, since it's now passed in in prepare() function handle($argarray=NULL) { |