Passed
Branch master (b331d1)
by Mark
01:47
created
lib/sioc_dokuwiki.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
                 $this->_sha1 = sha1("mailto:".$email);
267 267
             }
268 268
         }
269
-     }
269
+      }
270 270
 
271 271
     function getContent( &$exp ) {
272 272
         $rdf = "<sioc:UserAccount rdf:about=\"" . clean($this->_url, true) ."\">\n";
Please login to merge, or discard this patch.
lib/sioc_inc.php 1 patch
Indentation   +105 added lines, -105 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $this->_sioc_url = $sioc_url;
79 79
         $this->_encoding = $encoding;
80 80
         $this->_generator = $generator;
81
-	$this->_export_email = $export_email;
81
+  $this->_export_email = $export_email;
82 82
     }
83 83
 	
84 84
     // Assigns some objects to the exporter
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
         $this->_objects[] = &$obj;
87 87
     }
88 88
 
89
-	// TS: Used to replace _url4id in the siocURL for a given type (site, forum, etc.) with a parameter ($name) of your choice 
90
-	// E.g. b2evo exporter uses "blog=" instead of "sioc_id=" in the siocURL of a forum
89
+  // TS: Used to replace _url4id in the siocURL for a given type (site, forum, etc.) with a parameter ($name) of your choice 
90
+  // E.g. b2evo exporter uses "blog=" instead of "sioc_id=" in the siocURL of a forum
91 91
     function setURLTypeParm($type, $name) {
92 92
         $this->_type_table[$type] = $name;
93 93
     } 
@@ -96,27 +96,27 @@  discard block
 block discarded – undo
96 96
         $this->_ignore_suffix[$type] = 1;
97 97
     }
98 98
 
99
-	function siocURL($type, $id, $page=""){
100
-		$type_part = $this->_url4type .$this->_urlequal .  $type ;
99
+  function siocURL($type, $id, $page=""){
100
+    $type_part = $this->_url4type .$this->_urlequal .  $type ;
101 101
 			
102
-		if ($id) {
103
-			if ( isset($this->_type_table[$type]) ) 
104
-	            $myID = $this->_type_table[$type] ; 
105
-	        else 
106
-	            $myID = (($this->_url_usetype) ? $type . '_' : '') . $this->_url4id ;
102
+    if ($id) {
103
+      if ( isset($this->_type_table[$type]) ) 
104
+              $myID = $this->_type_table[$type] ; 
105
+          else 
106
+              $myID = (($this->_url_usetype) ? $type . '_' : '') . $this->_url4id ;
107 107
 				
108
-			$id_part = $this->_urlseparator . $myID . $this->_urlequal . $id  ;
109
-		} else {
110
-			$id_part = '';
111
-		}
108
+      $id_part = $this->_urlseparator . $myID . $this->_urlequal . $id  ;
109
+    } else {
110
+      $id_part = '';
111
+    }
112 112
 		
113
-		($page) ? $page_part = $this->_urlseparator . $this->_url4page . $this->_urlequal . $page : $page_part='' ;
113
+    ($page) ? $page_part = $this->_urlseparator . $this->_url4page . $this->_urlequal . $page : $page_part='' ;
114 114
 			
115
-		($this->_url_suffix && !isset($this->_ignore_suffix[$type])) ? $suffix = $this->_urlseparator . $this->_url_suffix : $suffix = '';
115
+    ($this->_url_suffix && !isset($this->_ignore_suffix[$type])) ? $suffix = $this->_urlseparator . $this->_url_suffix : $suffix = '';
116 116
 		
117
-		$siocURL = $this->_sioc_url . $type_part . $id_part . $page_part . $suffix ;
118
-		return clean($siocURL, true);
119
-	}
117
+    $siocURL = $this->_sioc_url . $type_part . $id_part . $page_part . $suffix ;
118
+    return clean($siocURL, true);
119
+  }
120 120
 	
121 121
     function export( $rdf_content='' ) {
122 122
         header('Content-Type: application/rdf+xml; charset='.$this->_encoding, true, 200);
@@ -204,10 +204,10 @@  discard block
 block discarded – undo
204 204
         $this->_description = $description;
205 205
         $this->_forums = array();
206 206
         $this->_users = array();
207
-	$this->_page = $page;
208
-	$this->_next_users = false;
209
-       	$this->_next_forums = false;
210
-       	$this->_usergroup_uri = $usergroup_uri;
207
+  $this->_page = $page;
208
+  $this->_next_users = false;
209
+          $this->_next_forums = false;
210
+          $this->_usergroup_uri = $usergroup_uri;
211 211
     }
212 212
     
213 213
     function addForum($id, $url) {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         $this->_users[$id] = $url;
219 219
     } 
220 220
 	
221
-	function setNextPageUsers($next) {
221
+  function setNextPageUsers($next) {
222 222
         $this->_next_users = $next;
223 223
     }
224 224
 	
@@ -236,14 +236,14 @@  discard block
 block discarded – undo
236 236
                 $rdf .= "\t<sioc:host_of rdf:resource=\"" . clean($url) . "\"/>\n";
237 237
             }
238 238
         }  
239
-		if($this->_next_forums) {
239
+    if($this->_next_forums) {
240 240
             $rdf .= "\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('site', "", $this->_page+1) ."\"/>\n";
241 241
         }	
242
-		if($this->_usergroup_uri) {
243
-			$rdf .= "\t<sioc:has_Usergroup rdf:resource=\"" . $this->_usergroup_uri . "\"/>\n";
244
-		} else {
245
-			$rdf .= "\t<sioc:has_Usergroup rdf:nodeID=\"" . AUTHORS_NODE . "\"/>\n";
246
-		}
242
+    if($this->_usergroup_uri) {
243
+      $rdf .= "\t<sioc:has_Usergroup rdf:resource=\"" . $this->_usergroup_uri . "\"/>\n";
244
+    } else {
245
+      $rdf .= "\t<sioc:has_Usergroup rdf:nodeID=\"" . AUTHORS_NODE . "\"/>\n";
246
+    }
247 247
         $rdf .= "</sioc:Site>\n";
248 248
         // Forums
249 249
         if($this->_forums) {
@@ -258,11 +258,11 @@  discard block
 block discarded – undo
258 258
         // Usergroup
259 259
         if($this->_users) {
260 260
             $rdf .= "\n";
261
-			if($this->_usergroup_uri) {
262
-				$rdf .= '<sioc:UserAccountgroup rdf:about="' . $this->_usergroup_uri . "\">\n";
263
-			} else {
264
-				$rdf .= '<sioc:UserAccountgroup rdf:nodeID="' . AUTHORS_NODE . "\">\n";
265
-			}
261
+      if($this->_usergroup_uri) {
262
+        $rdf .= '<sioc:UserAccountgroup rdf:about="' . $this->_usergroup_uri . "\">\n";
263
+      } else {
264
+        $rdf .= '<sioc:UserAccountgroup rdf:nodeID="' . AUTHORS_NODE . "\">\n";
265
+      }
266 266
             $rdf .= "\t<sioc:name>Authors for \"" . clean($this->_name) . "\"</sioc:name>\n";
267 267
                 foreach ($this->_users as $id => $url) {
268 268
                     $rdf .= "\t<sioc:has_member>\n";
@@ -271,9 +271,9 @@  discard block
 block discarded – undo
271 271
                     $rdf .= "\t\t</sioc:UserAccount>\n";
272 272
                     $rdf .= "\t</sioc:has_member>\n";
273 273
                 }
274
-			if($this->_next_users) {
274
+      if($this->_next_users) {
275 275
             $rdf .= "\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('site', "", $this->_page+1) ."\"/>\n";
276
-			}
276
+      }
277 277
             $rdf .= "</sioc:UserAccountgroup>\n";
278 278
         }
279 279
 		
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
         $this->_posts[$id] = array("url" => $url, "prev" => $prev, "next" => $next);
394 394
     }
395 395
 
396
-	// add links to things that are similar to this via sioc:related_to 
396
+  // add links to things that are similar to this via sioc:related_to 
397 397
     function addRelated($id, $url) {
398 398
         $this->_related[$id] = $url;
399 399
     }
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
         $this->_next = $next;
403 403
     }
404 404
 	
405
-	function addParentForum($id, $url) {
405
+  function addParentForum($id, $url) {
406 406
         $this->_parents[$id] = $url;
407 407
     }
408 408
 
@@ -411,51 +411,51 @@  discard block
 block discarded – undo
411 411
         $rdf .= "\t<sioc:link rdf:resource=\"" . clean($this->_url) . "\"/>\n";
412 412
         if ($this->_views)  $rdf .= "\t<sioc:num_views>" . $this->_views . "</sioc:num_views>\n";
413 413
         if ($this->_note)   $rdf .= "\t<rdfs:comment>" . $this->_note . "</rdfs:comment>\n";
414
-		if ($this->_subject) { $rdf .= "\t<dc:title>" . $this->_subject . "</dc:title>\n"; }
414
+    if ($this->_subject) { $rdf .= "\t<dc:title>" . $this->_subject . "</dc:title>\n"; }
415 415
         if ($this->_created) { $rdf .= "\t<dcterms:created>" . $this->_created . "</dcterms:created>\n"; }
416 416
         if ($this->_parents) {
417
-			foreach($this->_parents as $id => $uri) {
418
-				$rdf .= "\t<sioc:has_parent>\n";
419
-				$rdf .= "\t\t<sioc:Forum rdf:about=\"" .clean($uri) ."\">\n";
420
-				$rdf .= "\t\t\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('forum', $id) . "\"/>\n";
421
-				$rdf .= "\t\t</sioc:Forum>\n";
422
-				$rdf .= "\t</sioc:has_parent>\n";
423
-			}
424
-		}
425
-		// here the tags are just used as keywords for dc:subject
417
+      foreach($this->_parents as $id => $uri) {
418
+        $rdf .= "\t<sioc:has_parent>\n";
419
+        $rdf .= "\t\t<sioc:Forum rdf:about=\"" .clean($uri) ."\">\n";
420
+        $rdf .= "\t\t\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('forum', $id) . "\"/>\n";
421
+        $rdf .= "\t\t</sioc:Forum>\n";
422
+        $rdf .= "\t</sioc:has_parent>\n";
423
+      }
424
+    }
425
+    // here the tags are just used as keywords for dc:subject
426 426
         if ($this->_tags) { 
427 427
             foreach ($this->_tags as $id => $tag) {
428 428
                 $rdf .= "\t<dc:subject>" . $tag . "</dc:subject>\n"; 
429 429
             }
430 430
         }
431
-		// here the tags are used by creating a tag object with a blank node, with the keyword as moat:name - if you use this insert prefixes for moat and tags
432
-		// if ($this->_tags) { 
433
-			// $i=1;
431
+    // here the tags are used by creating a tag object with a blank node, with the keyword as moat:name - if you use this insert prefixes for moat and tags
432
+    // if ($this->_tags) { 
433
+      // $i=1;
434 434
             // foreach ($this->_tags as $id => $tag) {
435
-				// $rdf .= "\t<tags:taggedWithTag>\n";
436
-				// $rdf .= "\t\t<moat:tag rdf:nodeID=\"b$i\">\n";
437
-				// // actually, the best way is to have 'reference URIs' for tags, e.g. URIs for all the platform (http://tags.example.org/tag/soccer
435
+        // $rdf .= "\t<tags:taggedWithTag>\n";
436
+        // $rdf .= "\t\t<moat:tag rdf:nodeID=\"b$i\">\n";
437
+        // // actually, the best way is to have 'reference URIs' for tags, e.g. URIs for all the platform (http://tags.example.org/tag/soccer
438 438
                 // $rdf .= "\t\t\t<moat:name>" . $tag . "</moat:name>\n";  
439
-				// $rdf .= "\t\t</moat:tag>\n";
440
-				// $rdf .= "\t</moat:taggedWithTag>\n";
441
-				// $i++;
439
+        // $rdf .= "\t\t</moat:tag>\n";
440
+        // $rdf .= "\t</moat:taggedWithTag>\n";
441
+        // $i++;
442 442
             // }
443 443
         // }
444 444
 		
445
-		// here the tags are used are used for sioc:topic, each topic needs to have a URI
446
-		/*if($this->_tags) {
445
+    // here the tags are used are used for sioc:topic, each topic needs to have a URI
446
+    /*if($this->_tags) {
447 447
             foreach($this->_tags as $url=>$topic) {
448 448
                 $rdf .= "\t<sioc:topic rdfs:label=\"$topic\" rdf:resource=\"" . clean($url) ."\"/>\n";
449 449
             }
450 450
         }
451 451
 		*/
452
-		if ($this->_related) { 
453
-			foreach ($this->_related as $id => $url) {
454
-					$rdf .= "\t<sioc:related_to>\n";
455
-					$rdf .= "\t\t<sioc:Thread rdf:about=\"" .clean($url) ."\"/>\n";
456
-					$rdf .= "\t</sioc:related_to>\n"; // todo - each topic needs to have a URI
457
-			}
458
-		}		
452
+    if ($this->_related) { 
453
+      foreach ($this->_related as $id => $url) {
454
+          $rdf .= "\t<sioc:related_to>\n";
455
+          $rdf .= "\t\t<sioc:Thread rdf:about=\"" .clean($url) ."\"/>\n";
456
+          $rdf .= "\t</sioc:related_to>\n"; // todo - each topic needs to have a URI
457
+      }
458
+    }		
459 459
 		
460 460
         if ($this->_posts) {
461 461
             foreach($this->_posts as $id => $data) {
@@ -510,23 +510,23 @@  discard block
 block discarded – undo
510 510
         $this->_next = false;
511 511
         $this->_blog_title = $title;
512 512
         $this->_description = $descr;
513
-       	$this->_threads = array();
514
-       	$this->_parents = array();
515
-       	$this->_type = $type;
516
-       	$this->_creator = $creator;
517
-       	$this->_administrator = $admin;
518
-       	$this->_links = $links;
513
+          $this->_threads = array();
514
+          $this->_parents = array();
515
+          $this->_type = $type;
516
+          $this->_creator = $creator;
517
+          $this->_administrator = $admin;
518
+          $this->_links = $links;
519 519
     }
520 520
 	
521 521
     function addPost($id, $url) {
522 522
         $this->_posts[$id] = $url;
523 523
     }
524 524
 	
525
-	function addThread($id, $url) {
525
+  function addThread($id, $url) {
526 526
         $this->_threads[$id] = $url;
527 527
     }
528 528
 	
529
-	function addParentForum($id, $url) {
529
+  function addParentForum($id, $url) {
530 530
         $this->_parents[$id] = $url;
531 531
     }
532 532
 
@@ -536,31 +536,31 @@  discard block
 block discarded – undo
536 536
 
537 537
     function getContent( &$exp) {
538 538
         $rdf .= '<'.$this->_type. ' rdf:about="' . clean($this->_url) . "\">\n";
539
-		if ($this->_type != 'sioc:Forum') $rdf .= "\t<rdf:type rdf:resource=\"http://rdfs.org/sioc/ns#Forum\" />\n";
539
+    if ($this->_type != 'sioc:Forum') $rdf .= "\t<rdf:type rdf:resource=\"http://rdfs.org/sioc/ns#Forum\" />\n";
540 540
         $rdf .= "\t<sioc:link rdf:resource=\"" . clean($this->_url) . "\"/>\n";
541 541
         if ($this->_blog_title)  $rdf .= "\t<dc:title>" . $this->_blog_title . "</dc:title>\n";
542 542
         if ($this->_description) $rdf .= "\t<dc:description>" . $this->_description . "</dc:description>\n";
543 543
         if ($this->_note)        $rdf .= "\t<rdfs:comment>" . $this->_note . "</rdfs:comment>\n";
544 544
 		
545
-		if ($this->_parents) {
546
-			foreach($this->_parents as $id => $uri) {
547
-				$rdf .= "\t<sioc:has_parent>\n";
548
-				$rdf .= "\t\t<sioc:Forum rdf:about=\"" .clean($uri) ."\">\n";
549
-				$rdf .= "\t\t\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('forum', $id) . "\"/>\n";
550
-				$rdf .= "\t\t</sioc:Forum>\n";
551
-				$rdf .= "\t</sioc:has_parent>\n";
545
+    if ($this->_parents) {
546
+      foreach($this->_parents as $id => $uri) {
547
+        $rdf .= "\t<sioc:has_parent>\n";
548
+        $rdf .= "\t\t<sioc:Forum rdf:about=\"" .clean($uri) ."\">\n";
549
+        $rdf .= "\t\t\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('forum', $id) . "\"/>\n";
550
+        $rdf .= "\t\t</sioc:Forum>\n";
551
+        $rdf .= "\t</sioc:has_parent>\n";
552 552
             }
553
-		}
553
+    }
554 554
 		
555
-		if ($this->_threads) {
556
-			foreach($this->_threads as $id => $uri) {
557
-				$rdf .= "\t<sioc:parent_of>\n";
558
-				$rdf .= "\t\t<sioc:Thread rdf:about=\"" .clean($uri) ."\">\n";
559
-				$rdf .= "\t\t\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('thread', $id) . "\"/>\n";
560
-				$rdf .= "\t\t</sioc:Thread>\n";
561
-				$rdf .= "\t</sioc:parent_of>\n";
555
+    if ($this->_threads) {
556
+      foreach($this->_threads as $id => $uri) {
557
+        $rdf .= "\t<sioc:parent_of>\n";
558
+        $rdf .= "\t\t<sioc:Thread rdf:about=\"" .clean($uri) ."\">\n";
559
+        $rdf .= "\t\t\t<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('thread', $id) . "\"/>\n";
560
+        $rdf .= "\t\t</sioc:Thread>\n";
561
+        $rdf .= "\t</sioc:parent_of>\n";
562 562
             }
563
-		}
563
+    }
564 564
 		
565 565
         if($this->_posts) {
566 566
             foreach($this->_posts as $id => $url) {
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
             }
573 573
         }
574 574
 		
575
-		if ($this->_creator) {
575
+    if ($this->_creator) {
576 576
             if ($this->_creator->_id) {
577 577
                 $rdf .= "\t<sioc:has_creator>\n";
578 578
                 $rdf .= "\t\t<sioc:UserAccount rdf:about=\"" . clean($this->_creator->_uri) ."\">\n";
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
             }
598 598
         }
599 599
 		
600
-		if ($this->_administrator) {
600
+    if ($this->_administrator) {
601 601
             if ($this->_administrator->_id) {
602 602
                 $rdf .= "\t<sioc:has_administrator>\n";
603 603
                 $rdf .= "\t\t<sioc:UserAccount rdf:about=\"" . clean($this->_administrator->_uri) ."\">\n";
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
                 $rdf .= "\t</sioc:has_administrator>\n";
608 608
             } 
609 609
         }
610
-		if ($this->_links) {
610
+    if ($this->_links) {
611 611
             foreach($this->_links as $url=>$link) {
612 612
                 $rdf .= "\t<sioc:links_to rdfs:label=\"$link\" rdf:resource=\"" . clean($url) ."\"/>\n";
613 613
             }
@@ -616,7 +616,7 @@  discard block
 block discarded – undo
616 616
         if($this->_next) {
617 617
             $rdf .= "\r<rdfs:seeAlso rdf:resource=\"" . $exp->siocURL('forum', $this->_id, $this->_page+1) ."\"/>\n";
618 618
         }
619
-		$rdf .=  "</".$this->_type.">";
619
+    $rdf .=  "</".$this->_type.">";
620 620
 		
621 621
         return $rdf;
622 622
     }
@@ -657,8 +657,8 @@  discard block
 block discarded – undo
657 657
         $this->_links = $links;
658 658
         $this->_comments = array();
659 659
         $this->_reply_of = array();
660
-       	$this->_type = $type;
661
-       	$this->_has_part = $has_part;
660
+          $this->_type = $type;
661
+          $this->_has_part = $has_part;
662 662
     }
663 663
 
664 664
     function addComment($id, $url) {
@@ -712,11 +712,11 @@  discard block
 block discarded – undo
712 712
                 $rdf .= "\t<sioc:links_to rdfs:label=\"$link\" rdf:resource=\"" . clean($url) ."\"/>\n";
713 713
             }
714 714
         }
715
-		if($this->_has_part) {
715
+    if($this->_has_part) {
716 716
             foreach($this->_has_part as $id=>$url) {
717 717
                 $rdf .= "\t<dcterms:hasPart>\n";
718
-				$rdf .= "\t\t<dcmitype:Image rdf:about=\"" . clean($url) . "\"/>\n";
719
-				$rdf .= "\t</dcterms:hasPart>\n";
718
+        $rdf .= "\t\t<dcmitype:Image rdf:about=\"" . clean($url) . "\"/>\n";
719
+        $rdf .= "\t</dcterms:hasPart>\n";
720 720
             }
721 721
         }
722 722
         if($this->_reply_of) {
@@ -779,9 +779,9 @@  discard block
 block discarded – undo
779 779
         $this->_topics = $topics;
780 780
         $this->_links = $links;
781 781
         $this->_ext_links = $ext_links;
782
-       	$this->_type = $type;
782
+          $this->_type = $type;
783 783
         $this->_previous_version = $prev_vers;
784
-       	$this->_next_version = $next_vers;
784
+          $this->_next_version = $next_vers;
785 785
         $this->_latest_version = $latest_vers;
786 786
         $this->_has_discussion = $has_discuss;
787 787
         $this->_has_container = $container;
@@ -971,7 +971,7 @@  discard block
 block discarded – undo
971 971
 
972 972
     function SIOCWiki ($url, $type='sioct:Wiki') {
973 973
         $this->_url = $url;
974
-       	$this->_type = $type;
974
+          $this->_type = $type;
975 975
     }
976 976
 
977 977
     function getContent( &$exp ) {
@@ -992,7 +992,7 @@  discard block
 block discarded – undo
992 992
 
993 993
     function SIOCCategory ($url, $type='sioct:Category') {
994 994
         $this->_url = $url;
995
-       	$this->_type = $type;
995
+          $this->_type = $type;
996 996
     }
997 997
 
998 998
     function getContent( &$exp ) {
Please login to merge, or discard this patch.
action.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -80,8 +80,8 @@  discard block
 block discarded – undo
80 80
     /* -- Methods to manage plugin ------------------------------------------ */
81 81
 
82 82
     /**
83
-    * Register its handlers with the DokuWiki's event controller
84
-    */
83
+     * Register its handlers with the DokuWiki's event controller
84
+     */
85 85
     public function register(Doku_Event_Handler $controller)
86 86
     {
87 87
         //print_r(headers_list()); die();
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     }
147 147
     
148 148
     /**
149
-    */
149
+     */
150 150
     public function createRdfLink($event = null, $param = null)
151 151
     {
152 152
         global $ID, $INFO, $conf;
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
 
501 501
         // create container object
502 502
         $wikicontainer = new SIOCDokuWikiContainer($ID,
503
-                                                   normalizeUri($exporter->siocURL('container', $ID))
503
+                                                    normalizeUri($exporter->siocURL('container', $ID))
504 504
                                                   );
505 505
 
506 506
         /* container is type=wiki */ if ($ID == $conf['start']) $wikicontainer->isWiki();
@@ -563,10 +563,10 @@  discard block
 block discarded – undo
563 563
         // create user object
564 564
         //print_r($userinfo); die();
565 565
         $wikiuser = new SIOCDokuWikiUser($ID,
566
-                                         normalizeUri($exporter->siocURL('user', $ID)),
567
-                                         $userid,
568
-                                         $userinfo['name'],
569
-                                         $userinfo['mail']);
566
+                                          normalizeUri($exporter->siocURL('user', $ID)),
567
+                                          $userid,
568
+                                          $userinfo['name'],
569
+                                          $userinfo['mail']);
570 570
         /* TODO: avatar (using Gravatar) */
571 571
         /* TODO: creator_of */
572 572
         // add user to exporter
Please login to merge, or discard this patch.