17 Commits

Author SHA1 Message Date
Peter Kokot
0e511803a5 Refactor long array() syntax to short []
Since app is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`.
2018-12-10 03:26:03 +01:00
Sherif Ramadan
22b90f95ef Fixed syntax error from last commit and updated the SQL for better sorting of top/bottom rated notes. 2012-12-24 21:51:19 -05:00
Sherif Ramadan
1deb32e969 Replaced the old SQL with a much more memory and time efficient single LEFT JOIN query and only fetching one row at a time. 2012-12-24 21:31:56 -05:00
Sherif Ramadan
4696f8e744 Typo, it's PDOStatement::execute() not PDOStatement::exucute(). I blame me. You can blame me too. 2012-12-12 14:40:39 -05:00
Sherif Ramadan
8b0a4d377c Added new user notes voting backend code.
This will update the notes files on master with information from the database and provide the mirrors with an API to submit votes as well.
2012-12-12 08:48:48 -05:00
Rasmus Lerdorf
b70e521baf quotes! 2012-01-23 19:18:59 -08:00
Philip
cc651c067a Sometimes these are POSTed to 2012-01-20 21:35:46 -08:00
Ferenc Kovacs
de13a7ba10 s/$token/$_GET[token]/g fixing up the $token references in fetch/* to work without register_globals 2012-01-20 23:30:52 +01:00
Wez Furlong
8bb7d9909f Rename php3 -> phpmasterdb 2004-08-06 08:54:58 +00:00
James Cox
c6a22c21a2 's/pconnect/connect/g' 2003-09-06 05:09:09 +00:00
Gabor Hojtsy
337d633259 Obfuscate email addresses right in the fetch process 2003-07-14 08:48:52 +00:00
Andrew Lindeman
9a505c39cd implement bug #23991 2003-06-03 17:34:03 +00:00
Andrew Lindeman
d39efb0f97 Make notes not appear in the manual until someone approves them. This
prevents questions/bug/other non-note material from appearing in the
manual before it can be rejected/deleted.  Make them kind of kind the
events system is right now...
2003-05-19 22:13:29 +00:00
jim winstead
6847b0e54a go ahead and use persistent connections 2002-04-21 17:58:51 +00:00
jim winstead
93a0c65017 get rid of some silly code, remove last of 'removed' stuff 2001-11-21 01:31:50 +00:00
jim winstead
5a016aec08 no longer using 'removed' column to mark deletion 2001-11-21 01:29:25 +00:00
jim winstead
dcf14fca21 code for fetching events, mirror list, and user-notes 2001-09-21 19:01:08 +00:00