Index: branches/wmf/1.17wmf1/includes/json/Services_JSON.php |
— | — | @@ -870,7 +870,12 @@ |
871 | 871 | function Services_JSON_Error($message = 'unknown error', $code = null, |
872 | 872 | $mode = null, $options = null, $userinfo = null) |
873 | 873 | { |
874 | | - |
| 874 | + $this->message = $message; |
875 | 875 | } |
| 876 | + |
| 877 | + function __toString() |
| 878 | + { |
| 879 | + return $this->message; |
| 880 | + } |
876 | 881 | } |
877 | 882 | } |
Property changes on: branches/wmf/1.17wmf1/includes/json/Services_JSON.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
878 | 883 | Merged /trunk/phase3/includes/json/Services_JSON.php:r89553 |