diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-12-08 13:11:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-12-08 13:11:33 +0000 |
commit | 7a972daeab5a9a4aa2253ef10acc8a2b5c754cab (patch) | |
tree | 890008a8ece29aa54c8096ab7531c0d90dd2bb01 /modules/story.module | |
parent | 6f4d9d56d5ee8bfd31c4453bbbe1d6379b611353 (diff) | |
download | brdo-7a972daeab5a9a4aa2253ef10acc8a2b5c754cab.tar.gz brdo-7a972daeab5a9a4aa2253ef10acc8a2b5c754cab.tar.bz2 |
- 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.
Diffstat (limited to 'modules/story.module')
-rw-r--r-- | modules/story.module | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/story.module b/modules/story.module index 747259463..89b57cd67 100644 --- a/modules/story.module +++ b/modules/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() { |