X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiFormatJson.php;h=acbc7d3bc25ac20c97564548658fc65699ef73f9;hb=7cf16f046ca5066140bf3bf196aca72797e1d5d6;hp=efa6fd70009755caa1b4f38ecbd074a75380c109;hpb=e55ed729c4bc2179fb27de1ce988d3d351acb5a0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFormatJson.php b/includes/api/ApiFormatJson.php index efa6fd7000..acbc7d3bc2 100644 --- a/includes/api/ApiFormatJson.php +++ b/includes/api/ApiFormatJson.php @@ -1,11 +1,10 @@ @gmail.com + * Created on Sep 19, 2006 + * + * Copyright © 2006 Yuri Astrakhan "@gmail.com" * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,15 +18,12 @@ * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html + * + * @file */ -if ( !defined( 'MEDIAWIKI' ) ) { - // Eclipse helper - will be ignored in production - require_once( 'ApiFormatBase.php' ); -} - /** * API JSON output formatter * @ingroup API @@ -70,7 +66,7 @@ class ApiFormatJson extends ApiFormatBase { } $this->printText( $prefix . - FormatJson::encode( $this->getResultData(), $this->getIsHtml() ) . + FormatJson::encode( $this->getResultData(), $this->getIsHtml() ) . $suffix ); }