Merge "Rewrite pref cleanup script"
[lhc/web/wiklou.git] / includes / api / ApiUsageException.php
index 47902a7..c200dcb 100644 (file)
@@ -16,7 +16,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @defgroup API API
  */
 
 /**
@@ -213,7 +212,7 @@ class ApiUsageException extends UsageException implements ILocalizedException {
         * @inheritDoc
         */
        public function getMessageObject() {
-               return $this->status->getMessage();
+               return Status::wrap( $this->status )->getMessage();
        }
 
        /**