myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [1892] trunk/app/controllers/application.rb: allo


From: noreply
Subject: [myexperiment-hackers] [1892] trunk/app/controllers/application.rb: allow_statistics_logging() helper method is suspended until stats are recalculated from logs
Date: Tue, 28 Oct 2008 11:50:48 -0400 (EDT)

Revision
1892
Author
alekses6
Date
2008-10-28 11:50:48 -0400 (Tue, 28 Oct 2008)

Log Message

allow_statistics_logging() helper method is suspended until stats are recalculated from logs

Modified Paths

Diff

Modified: trunk/app/controllers/application.rb (1891 => 1892)


--- trunk/app/controllers/application.rb	2008-10-28 15:22:19 UTC (rev 1891)
+++ trunk/app/controllers/application.rb	2008-10-28 15:50:48 UTC (rev 1892)
@@ -31,6 +31,17 @@
   # NB! The input parameter is the actual contributable OR
   # the version of it (currently only workflows are versioned)
   def allow_statistics_logging(contributable_or_version)
+    
+    # ************************************************************************
+    # NB! THIS METHOD IS SUSPENDED UNTIL THE STATS ARE RECALCULATED FROM LOGS
+    # REMOVE THIS COMMENT AND THE LINE BELOW WHEN EVERYTHING'S DONE;
+    #
+    # FOR NOW THE NEXT LINE ENSURES THAT OVERALL BEHAVIOUR IS IDENTICAL TO
+    # WHAT HAPPENED BEFORE THIS METHOD WAS ADDED
+    return true
+    # END OF END OF WARNING
+    # ************************************************************************
+    
     # check if the current viewing/download is to be logged
     # (i.e. request is sent not by a bot and is legitimate)
     allow_logging = true

reply via email to

[Prev in Thread] Current Thread [Next in Thread]