<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -70,50 +70,50 @@ module Kt
       end
 
       def handle_kontagent
-        time(&quot;Handle kontagent&quot;) do
-          get_params = params
-          $CURR_API_KEY = request.parameters[:fb_sig_api_key] if $CURR_API_KEY.nil?
+        unless App.current.theme.template.code == &quot;snowball&quot;
+          time(&quot;Handle kontagent&quot;) do
+            get_params = params
+            $CURR_API_KEY = request.parameters[:fb_sig_api_key] if $CURR_API_KEY.nil?
 
-          # trace uninstall
-          if params.has_key? :fb_sig_uninstall
-            Kt::KtAnalytics.instance.save_app_removed(params)
-            return true
-          end
+            # trace uninstall
+            if params.has_key? :fb_sig_uninstall
+              Kt::KtAnalytics.instance.save_app_removed(params)
+              return true
+            end
 
-          # track install 
-          if params.has_key? :installed and params[:installed] == &quot;1&quot;
-            Kt::KtAnalytics.instance.save_app_added(params)
-          end
+            # track install 
+            if params.has_key? :installed and params[:installed] == &quot;1&quot;
+              Kt::KtAnalytics.instance.save_app_added(params)
+            end
         
         
-          short_tag=nil
-          if params.has_key? :kt_type
-            # handle kontagent related parameters
-            case params[:kt_type]
-            when &quot;ins&quot; # invite sent
-              Kt::KtAnalytics.instance.save_invite_send(params)
-            when &quot;in&quot;  # invite click
-              Kt::KtAnalytics.instance.save_invite_click(params)
-            when &quot;nt&quot; # notification click
-              Kt::KtAnalytics.instance.save_notification_click(params)
-            when &quot;nte&quot; # email notification
-              Kt::KtAnalytics.instance.save_notification_email_click(params)
-            when &quot;fdp&quot;
-              short_tag = Kt::KtAnalytics.instance.save_undirected_comm_click(params)
-            else
+            short_tag=nil
+            if params.has_key? :kt_type
+              # handle kontagent related parameters
+              case params[:kt_type]
+              when &quot;ins&quot; # invite sent
+                Kt::KtAnalytics.instance.save_invite_send(params)
+              when &quot;in&quot;  # invite click
+                Kt::KtAnalytics.instance.save_invite_click(params)
+              when &quot;nt&quot; # notification click
+                Kt::KtAnalytics.instance.save_notification_click(params)
+              when &quot;nte&quot; # email notification
+                Kt::KtAnalytics.instance.save_notification_email_click(params)
+              when &quot;fdp&quot;
+                short_tag = Kt::KtAnalytics.instance.save_undirected_comm_click(params)
+              else
             
-            end
+              end
 
-            # forward to the url without the kt_* params
-            f_url =  get_stripped_kt_args_url(short_tag)
-            #puts &quot;f_url \n\t #{f_url}&quot; #xxx
-            redirect_to f_url
-          
-          else
-            return true
+              # forward to the url without the kt_* params
+              f_url =  get_stripped_kt_args_url(short_tag)
+              #puts &quot;f_url \n\t #{f_url}&quot; #xxx
+              redirect_to f_url      
+            else
+              return true
+            end
           end
         end
-        
       end # handle_kontagent
 
       </diff>
      <filename>lib/kt/rails/controller.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>861999b330e1018e67abaa84c77eda881246c356</id>
    </parent>
  </parents>
  <author>
    <name>Dave Pekar</name>
    <email>dpekar@gmail.com</email>
  </author>
  <url>http://github.com/rmatei/kt/commit/b69cab21deb0b841a3a9adbd67decdad659bf904</url>
  <id>b69cab21deb0b841a3a9adbd67decdad659bf904</id>
  <committed-date>2009-04-07T00:24:26-07:00</committed-date>
  <authored-date>2009-04-07T00:24:26-07:00</authored-date>
  <message>took handle kont out of snowball</message>
  <tree>be7f27edfa80052694996a9dab5b98745f457474</tree>
  <committer>
    <name>Dave Pekar</name>
    <email>dpekar@gmail.com</email>
  </committer>
</commit>
