r89555 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89554‎ | r89555 | r89556 >
Date:09:45, 6 June 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r89553
Modified paths:
  • /branches/wmf/1.17wmf1/includes/json/Services_JSON.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/json/Services_JSON.php
@@ -870,7 +870,12 @@
871871 function Services_JSON_Error($message = 'unknown error', $code = null,
872872 $mode = null, $options = null, $userinfo = null)
873873 {
874 -
 874+ $this->message = $message;
875875 }
 876+
 877+ function __toString()
 878+ {
 879+ return $this->message;
 880+ }
876881 }
877882 }
Property changes on: branches/wmf/1.17wmf1/includes/json/Services_JSON.php
___________________________________________________________________
Modified: svn:mergeinfo
878883 Merged /trunk/phase3/includes/json/Services_JSON.php:r89553

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89553Fix the non-PEAR alternative for Services_JSON_Error to be less useless. bug ...catrope09:41, 6 June 2011

Status & tagging log