diff options
author | Evan Prodromou <evan@status.net> | 2010-03-01 14:40:39 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-01 18:03:18 -0500 |
commit | 1414b6b84954939b2f120443ab90a75d1ffb2a65 (patch) | |
tree | 1d12be4e58a617163b0723f54a73b3e16d10415b /actions/updateprofile.php | |
parent | 17c2c793a5d9e1e7066715e57694678296f2221a (diff) |
send smaller error pages for OMB API endpoints
Diffstat (limited to 'actions/updateprofile.php')
-rw-r--r-- | actions/updateprofile.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/updateprofile.php b/actions/updateprofile.php index e416a6fa9..dfc31f542 100644 --- a/actions/updateprofile.php +++ b/actions/updateprofile.php @@ -55,6 +55,8 @@ class UpdateprofileAction extends Action */ function prepare($argarray) { + StatusNet::setApi(true); // Send smaller error pages + parent::prepare($argarray); $license = $_POST['omb_listenee_license']; $site_license = common_config('license', 'url'); |