Skip to content

Commit

Permalink
MDL-57775 xmlrpc: Formal fix of coding style and phpdocs
Browse files Browse the repository at this point in the history
- There was missing MOODLE_INTERNAL check.
- The client is not used for unit tests only so the class description
  was obsolete.
  • Loading branch information
mudrd8mz committed Aug 15, 2017
1 parent b4da577 commit 8bfd82b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions webservice/xmlrpc/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.


/**
* Moodle XML-RPC library
*
Expand All @@ -23,11 +22,11 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

/**
* Moodle XML-RPC client
*
* It has been implemented for unit testing purpose (all protocols have similar client)
*
* @package webservice_xmlrpc
* @copyright 2010 Jerome Mouneyrac
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Expand Down

0 comments on commit 8bfd82b

Please sign in to comment.