diff options
Diffstat (limited to 'lib/api.php')
-rw-r--r-- | lib/api.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api.php b/lib/api.php index f81975216..fd07bbbbe 100644 --- a/lib/api.php +++ b/lib/api.php @@ -77,6 +77,7 @@ class ApiAction extends Action function prepare($args) { + StatusNet::setApi(true); // reduce exception reports to aid in debugging parent::prepare($args); $this->format = $this->arg('format'); |