http://www.mediawiki.org/wiki/Special:Code/MediaWiki/62783

Revision: 62783
Author:   ashley
Date:     2010-02-21 18:09:00 +0000 (Sun, 21 Feb 2010)

Log Message:
-----------
ApiDisabled.php: fix copyright symbol, coding style tweaks

Modified Paths:
--------------
    trunk/phase3/includes/api/ApiDisabled.php

Modified: trunk/phase3/includes/api/ApiDisabled.php
===================================================================
--- trunk/phase3/includes/api/ApiDisabled.php   2010-02-21 17:28:13 UTC (rev 
62782)
+++ trunk/phase3/includes/api/ApiDisabled.php   2010-02-21 18:09:00 UTC (rev 
62783)
@@ -1,10 +1,10 @@
 <?php
 
-/*
+/**
  * Created on Sep 25, 2008
  * API for MediaWiki 1.8+
  *
- * Copyright (C) 2008 Roan Kattouw <Firstname>.<Lastname>@home.nl
+ * Copyright © 2008 Roan Kattouw <Firstname>.<Lastname>@home.nl
  *
  * 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
@@ -24,7 +24,7 @@
 
 if ( !defined( 'MEDIAWIKI' ) ) {
        // Eclipse helper - will be ignored in production
-       require_once ( "ApiBase.php" );
+       require_once( "ApiBase.php" );
 }
 
 /**
@@ -40,7 +40,7 @@
 class ApiDisabled extends ApiBase {
 
        public function __construct( $main, $action ) {
-               parent :: __construct( $main, $action );
+               parent::__construct( $main, $action );
        }
 
        public function execute() {
@@ -52,11 +52,11 @@
        }
 
        public function getAllowedParams() {
-               return array ();
+               return array();
        }
 
        public function getParamDescription() {
-               return array ();
+               return array();
        }
 
        public function getDescription() {
@@ -66,7 +66,7 @@
        }
 
        protected function getExamples() {
-               return array ();
+               return array();
        }
 
        public function getVersion() {



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to