summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-11-09 17:03:49 +0000
committerDries Buytaert <dries@buytaert.net>2003-11-09 17:03:49 +0000
commitf50a92b6fd22fb140cd6b0f69134bf6cfcd5700b (patch)
tree5f6efcaf4745858d64874c0487c8d4fb054366db
parent5bed42e8ef00736d5658cdf83e67ed68205089da (diff)
downloadbrdo-f50a92b6fd22fb140cd6b0f69134bf6cfcd5700b.tar.gz
brdo-f50a92b6fd22fb140cd6b0f69134bf6cfcd5700b.tar.bz2
- Removed debug statement. Patch by Bart.
-rw-r--r--modules/story.module1
-rw-r--r--modules/story/story.module1
2 files changed, 0 insertions, 2 deletions
diff --git a/modules/story.module b/modules/story.module
index b1559c0ed..fe0408331 100644
--- a/modules/story.module
+++ b/modules/story.module
@@ -67,7 +67,6 @@ function story_validate(&$node) {
*/
if (isset($node->body) && count(explode(" ", $node->body)) < variable_get("minimum_story_size", 0)) {
-print "body : $node->body";
$error["body"] = "<div class=\"error\">". t("The body of your story is too short.") ."</div>";
}
diff --git a/modules/story/story.module b/modules/story/story.module
index b1559c0ed..fe0408331 100644
--- a/modules/story/story.module
+++ b/modules/story/story.module
@@ -67,7 +67,6 @@ function story_validate(&$node) {
*/
if (isset($node->body) && count(explode(" ", $node->body)) < variable_get("minimum_story_size", 0)) {
-print "body : $node->body";
$error["body"] = "<div class=\"error\">". t("The body of your story is too short.") ."</div>";
}