summaryrefslogtreecommitdiff
path: root/actions/updateprofile.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-01 14:40:39 -0500
committerEvan Prodromou <evan@status.net>2010-03-01 14:40:39 -0500
commit90689008ee8649d9592ad97579d7de44d1ce389d (patch)
tree4dd72e3ba52cf7504cf23720da017d3a3d3805f8 /actions/updateprofile.php
parent486cbac522b0985ac0f65c3acc61d6e3d73fbc31 (diff)
send smaller error pages for OMB API endpoints
Diffstat (limited to 'actions/updateprofile.php')
-rw-r--r--actions/updateprofile.php2
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');