summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-07-13 20:44:13 +0000
committerDries Buytaert <dries@buytaert.net>2004-07-13 20:44:13 +0000
commitdf2e5ef505d954230956a4109aebf72198e4a3f4 (patch)
treebf4288892f8b90c95b9280bcc6d72df1913cb06e /modules/comment.module
parent3613729d4f1ad8675305445e2717856b2c377faa (diff)
downloadbrdo-df2e5ef505d954230956a4109aebf72198e4a3f4.tar.gz
brdo-df2e5ef505d954230956a4109aebf72198e4a3f4.tar.bz2
- Patch #8942 by Morbus: when testing under devel.module, the "SELECT timestamp from {history}" SQL statement is executed multiple times in two different functions. This duplicated code should be placed in a function, and that's been done already with node_last_visited() - the remaining code was just never updated to use the new routine. This patch changes the old code to use node_last_visited, and also modifies node_last_visited() to cache the result of the database call.
Diffstat (limited to 'modules/comment.module')
0 files changed, 0 insertions, 0 deletions