summaryrefslogtreecommitdiff
path: root/modules/page
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-23 14:14:48 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-23 14:14:48 +0000
commit66e1bbfb937cab81c5943c264ff52208b0a71286 (patch)
tree60c7499fc183d2a894889a8d22df7cc0ffebfc83 /modules/page
parent5f6d733b70cdc374053e1e415d225008e04bbef4 (diff)
downloadbrdo-66e1bbfb937cab81c5943c264ff52208b0a71286.tar.gz
brdo-66e1bbfb937cab81c5943c264ff52208b0a71286.tar.bz2
- 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 &#187 to &raquo, 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.
Diffstat (limited to 'modules/page')
-rw-r--r--modules/page/page.module6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/page/page.module b/modules/page/page.module
index da8258888..06762b671 100644
--- a/modules/page/page.module
+++ b/modules/page/page.module
@@ -129,12 +129,6 @@ function page_view($node, $main = 0) {
function page_form(&$node, &$help, &$error) {
global $op;
- if (!$node->status) {
- $node->status = 1;
- $node->moderate = 1;
- $node->comment = 2;
- }
-
if ($node->format) {
if ($op != t("Preview")) {
$node->body = addslashes($node->body);