]> git.mjollnir.org Git - moodle.git/commitdiff
Removed a constraint that caused mnet to fail on clusters, vservers and other network...
authordonal72 <donal72>
Tue, 16 Oct 2007 03:26:39 +0000 (03:26 +0000)
committerdonal72 <donal72>
Tue, 16 Oct 2007 03:26:39 +0000 (03:26 +0000)
mnet/xmlrpc/server.php

index 91ad3711cbdca03088c9abb132e2f6af0d5bbdce..5faaef0933a442690d2d882f3cfbbfefef98401f 100644 (file)
@@ -132,8 +132,6 @@ function mnet_server_strip_wrappers($HTTP_RAW_POST_DATA) {
 
         if (false == $host_record_exists) {
             exit(mnet_server_fault(7020, 'wrong-wwwroot', $crypt_parser->remote_wwwroot));
-        } elseif (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] != $MNET_REMOTE_CLIENT->ip_address) {
-            exit(mnet_server_fault(7017, 'wrong-ip'));
         }
 
         if ($crypt_parser->payload_encrypted) {