]> git.mjollnir.org Git - moodle.git/commitdiff
"fixed code format"
authordongsheng <dongsheng>
Fri, 26 Sep 2008 04:51:50 +0000 (04:51 +0000)
committerdongsheng <dongsheng>
Fri, 26 Sep 2008 04:51:50 +0000 (04:51 +0000)
mnet/rpclib.php

index 1438b24c6c193e2a33ce88998f26749969b531d7..7e75082d94ce3b165e16f8d4069bc121233037e6 100644 (file)
@@ -15,26 +15,26 @@ function mnet_concatenate_strings_RPC_OK() {
 
 function mnet_publishes() {
     $servicelist = array();
-        $service['name']             = 'sso';
-            $function['name']        = 'mnet_concatenate_strings';
+    $service['name']             = 'sso';
+    $function['name']        = 'mnet_concatenate_strings';
 
-                // first argument
-                $argument['type']    = 'string';
-                $argument['default'] = '';
-            $function['arguments'][] = $argument;
+    // first argument
+    $argument['type']    = 'string';
+    $argument['default'] = '';
+    $function['arguments'][] = $argument;
 
-                // second argument
-                $argument['type']    = 'string';
-                $argument['default'] = '';
-            $function['arguments'][] = $argument;
+    // second argument
+    $argument['type']    = 'string';
+    $argument['default'] = '';
+    $function['arguments'][] = $argument;
 
-                // third argument
-                $argument['type']    = 'string';
-                $argument['default'] = '';
-            $function['arguments'][] = $argument;
-        
-            $function['description'] = get_string($function['name'], 'mnet');
-        $service['functions'][]      = $function;
+    // third argument
+    $argument['type']    = 'string';
+    $argument['default'] = '';
+    $function['arguments'][] = $argument;
+
+    $function['description'] = get_string($function['name'], 'mnet');
+    $service['functions'][]      = $function;
     $servicelist[]                   = $service;
 
     return $servicelist;