Skip to content

Commit 98d2668

Browse files
committed
Add api_protect_webservices
1 parent 79ea6a8 commit 98d2668

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

main/webservices/user_info.soap.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<?php
2+
23
/* For licensing terms, see /license.txt */
4+
35
/**
46
* This script provides the caller service with user details.
57
* It is set to work with the Chamilo module for Drupal:
68
* http://drupal.org/project/chamilo.
79
*
810
* @author Yannick Warnier <yannick.warnier@dokeos.com>
9-
*
10-
* @package chamilo.webservices
1111
*/
1212
require_once __DIR__.'/../inc/global.inc.php';
13+
14+
api_protect_webservices();
15+
1316
// Create the server instance
1417
$server = new soap_server();
1518
// Initialize WSDL support

0 commit comments

Comments
 (0)