From 25d090f3acfbb099cca6979fb4faffc272358c84 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 11 Dec 2009 03:54:24 +0100 Subject: cosmetic changes --- paste/paste.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/paste/paste.php b/paste/paste.php index 51f5d9f..2c5a8df 100644 --- a/paste/paste.php +++ b/paste/paste.php @@ -1,9 +1,10 @@ -setContent($finalText); + $url = $config['storage']->setContent($text, $language, $nick, $desc); - # Note: this function was pretty specific to my implementation. It stored - # paste metadata about the language used, description, and URL, as well as - # a timestamp (but the raw pastes were never preserved - they always expired - # as promised after 24 hours) - #add_to_db($desc, $language, $url); + // Note: this function was pretty specific to my implementation. It stored + // paste metadata about the language used, description, and URL, as well as + // a timestamp (but the raw pastes were never preserved - they always expired + // as promised after 24 hours) + //add_to_db($desc, $language, $url); Header("Location: $url"); } -- cgit v1.2.3