summaryrefslogtreecommitdiff
path: root/modules/queue.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-11-01 17:04:20 +0000
committerDries Buytaert <dries@buytaert.net>2001-11-01 17:04:20 +0000
commit23ca7a2d8832aa16107cf7002c35170ae2b87a1c (patch)
tree7878082b9e4bd2b0d20380d11c6404b72cd44d32 /modules/queue.module
parent3d47ad359ded4cb947b7ada9b3418640cfb3c642 (diff)
downloadbrdo-23ca7a2d8832aa16107cf7002c35170ae2b87a1c.tar.gz
brdo-23ca7a2d8832aa16107cf7002c35170ae2b87a1c.tar.bz2
- Another batch of updates/improvements:
+ introduced basic node permissions ("create", "delete", "update" and "view") at the node level: it's up to the "<$node->type>_module" to hide gory details (if any). + made the "blog it"-feature in the blog and import module work with the new node system, in specific with the new centralized forms. + made it possible to update blogs. + made the page module work with the new node system. + various smaller improvements.
Diffstat (limited to 'modules/queue.module')
-rw-r--r--modules/queue.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/queue.module b/modules/queue.module
index cbb1c5798..8dd4d2a5a 100644
--- a/modules/queue.module
+++ b/modules/queue.module
@@ -79,7 +79,7 @@ function queue_overview() {
$theme->footer();
}
-function queue_node($id) {
+function queue_view($id) {
global $theme, $user;
$node = node_load(array(nid => $id));
@@ -130,7 +130,7 @@ function queue_page() {
queue_vote(check_input($id), check_input($vote));
// fall through:
case "view":
- queue_node(check_input($id));
+ queue_view(check_input($id));
break;
default:
queue_overview();