From 66e1bbfb937cab81c5943c264ff52208b0a71286 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Thu, 23 May 2002 14:14:48 +0000 Subject: - pending user accounts will not be notified to the site_email. - fixed access checks on the register form, do this before you enter the _save function. If registrations are disabled the register link will no longer show (again). - changed » to », using the names of entities are better than the numbers. - fixed user information being set when account is registered (properly this time, really!) - reversed the if(!...) commit. - node_add specifies more defaults. - added link to blog entries from user page. --- modules/poll.module | 6 ------ 1 file changed, 6 deletions(-) (limited to 'modules/poll.module') diff --git a/modules/poll.module b/modules/poll.module index 2bfdd7d0d..68b54eb58 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -40,12 +40,6 @@ function poll_delete($node) { } function poll_form(&$node, &$help, &$error) { - if (!$node->status) { - $node->status = 1; - $node->moderate = 1; - $node->comment = 2; - } - $admin = user_access("administer nodes"); $_duration = array(0 => t("Unlimited"), 86400 => format_interval(86400), 172800 => format_interval(172800), 345600 => format_interval(345600), 604800 => format_interval(604800), 1209600 => format_interval(1209600), 2419200 => format_interval(2419200), 4838400 => format_interval(4838400), 9676800 => format_interval(9676800), 31536000 => format_interval(31536000)); -- cgit v1.2.3