From e6512e910f98c055b850facc3fb0e4bc75027408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Tue, 15 Aug 2017 14:14:08 +0200 Subject: [PATCH] MDL-57775 xmlrpc: Formal fix of coding style and phpdocs - There was missing MOODLE_INTERNAL check. - The client is not used for unit tests only so the class description was obsolete. --- webservice/xmlrpc/lib.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webservice/xmlrpc/lib.php b/webservice/xmlrpc/lib.php index 06c499d5599..7f5e288e3ad 100644 --- a/webservice/xmlrpc/lib.php +++ b/webservice/xmlrpc/lib.php @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . - /** * Moodle XML-RPC library * @@ -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