From 7a972daeab5a9a4aa2253ef10acc8a2b5c754cab Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 8 Dec 2001 13:11:33 +0000 Subject: - node system: + made a small change in the node overview page in the admin section such that it lists both new and updated pages by default. + reworked the filter-mechanism: it is not 100% finished yet but it sure is taking shape. --- modules/story/story.module | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'modules/story/story.module') diff --git a/modules/story/story.module b/modules/story/story.module index 747259463..89b57cd67 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -32,17 +32,12 @@ function story_save($op, $node) { } if ($op == "create") { - return array("moderate" => 1); + return array("body" => filter($node->body), "moderate" => 1); } if ($op == "decline") { return array("status" => 0, "promote" => 0); } - - if ($op == "update") { - return array("status"); - } - } function story_help() { -- cgit v1.2.3