Convert use of common_server_error and common_user_error to methods on Action

This commit is contained in:
Evan Prodromou
2009-01-15 23:03:38 +00:00
parent eaa81d25fa
commit 4b0cf99e56
67 changed files with 275 additions and 275 deletions

View File

@@ -103,10 +103,10 @@ class ApiAction extends Action
call_user_func(array($action_obj, $this->api_method), $_REQUEST, $apidata);
} else {
common_user_error("API method not found!", $code=404);
$this->clientError("API method not found!", $code=404);
}
} else {
common_user_error("API method not found!", $code=404);
$this->clientError("API method not found!", $code=404);
}
}