logo       

[bug] throttle() is broken: msg#01055

php.drupal.devel

Subject: [bug] throttle() is broken

Project: Drupal
Version: cvs
Component: base system
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: Bart Jansens
Updated by: Dries
Status: active

Is anyone using this functionality? If not, I suggest we remove it. (I
already removed it on my local copy.)

Dries



Previous comments:
------------------------------------------------------------------------

February 26, 2004 - 22:57 : Bart Jansens

throttle() selects data from the watchdog table to count the number of
nodes/comments/.. the user has submitted in the past X seconds but this
data is never inserted into this table so the count will always return
0 and throttle() will succeed.

The code to insert these messages was removed in r1.273, i'm not sure
why.

--
View: http://drupal.org/node/view/6086
Edit: http://drupal.org/project/comments/add/6086





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise