logo       

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

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: Bart Jansens
Status: active

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.

Bart Jansens

--
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