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

index 7e75082d94ce3b165e16f8d4069bc121233037e6..4156fa39dc862aa271e213e984258f44d001c4de 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;
+            // third argument
+            $argument['type']    = 'string';
+            $argument['default'] = '';
+            $function['arguments'][] = $argument;
 
-    $function['description'] = get_string($function['name'], 'mnet');
-    $service['functions'][]      = $function;
+            $function['description'] = get_string($function['name'], 'mnet');
+        $service['functions'][]      = $function;
     $servicelist[]                   = $service;
 
     return $servicelist;