includes/namespaces/api.php
changeset 1227 bdac73ed481e
parent 1081 745200a9cc2a
--- a/includes/namespaces/api.php	Sun Mar 28 21:49:26 2010 -0400
+++ b/includes/namespaces/api.php	Sun Mar 28 23:10:46 2010 -0400
@@ -13,21 +13,21 @@
 
 class Namespace_API extends Namespace_Default
 {
-  function send()
-  {
-    global $output, $session;
-    $uri = scriptPath . '/' . $this->page_id;
-    if ( $output->naked )
-    {
-      $sep = ( strstr($uri, '?') ) ? '&' : '?';
-      $uri .= "{$sep}noheaders";
-    }
-    if ( $session->sid_super )
-    {
-      $sep = ( strstr($uri, '?') ) ? '&' : '?';
-      $uri .= "{$sep}auth={$session->sid_super}";
-    }
-    redirect( $uri, '', '', 0 );
-  }
+	function send()
+	{
+		global $output, $session;
+		$uri = scriptPath . '/' . $this->page_id;
+		if ( $output->naked )
+		{
+			$sep = ( strstr($uri, '?') ) ? '&' : '?';
+			$uri .= "{$sep}noheaders";
+		}
+		if ( $session->sid_super )
+		{
+			$sep = ( strstr($uri, '?') ) ? '&' : '?';
+			$uri .= "{$sep}auth={$session->sid_super}";
+		}
+		redirect( $uri, '', '', 0 );
+	}
 }