diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-12-01 23:15:32 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-12-01 23:15:32 -0500 |
commit | cb3862b43e8efa4dcb2be7c2c6ca345bdf4a1d64 (patch) | |
tree | 3906a3da1819a1cd67bec9011dca95a75e030a4e /lib | |
parent | b58eee26e8d784a74c0dd9c02964f9d224d40735 (diff) |
whitespace changes in action.php
darcs-hash:20081202041532-5ed1f-8c392967eb14d726bc1b761a39c6dce0097879c0.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/action.php b/lib/action.php index 60c2418ae..1cb41389a 100644 --- a/lib/action.php +++ b/lib/action.php @@ -27,7 +27,7 @@ class Action { // lawsuit } # For initializing members of the class - + function init($argarray) { $this->args =& common_copy_args($argarray); return true; @@ -35,11 +35,11 @@ class Action { // lawsuit # For comparison with If-Last-Modified # If not applicable, return NULL - + function last_modified() { return NULL; } - + function is_readonly() { return false; } @@ -58,11 +58,11 @@ class Action { // lawsuit } # Note: argarray ignored, since it's now passed in in init() - + function handle($argarray=NULL) { - + $lm = $this->last_modified(); - + if ($lm) { header('Last-Modified: ' . date(DATE_RFC822, $lm)); $if_modified_since = $_SERVER['HTTP_IF_MODIFIED_SINCE']; @@ -92,7 +92,7 @@ class Action { // lawsuit } else { return $def; } - } + } function server_error($msg, $code=500) { $action = $this->trimmed('action'); |