From 8c575041dcefaa5e732022f950a98887262c568c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 03:33:05 -0400 Subject: [PATCH] remove current notice code which doesn't seem to do anything darcs-hash:20080709073305-84dde-9e7f0d367ab9f3f762031501eb4c83f6410c6da7.gz --- actions/newnotice.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/actions/newnotice.php b/actions/newnotice.php index aabf5ccd77..3abe875d5c 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -36,12 +36,6 @@ class NewnoticeAction extends Action { function save_new_notice() { - #remember the current notice - $current_notice = DB_DataObject::factory('notice'); - $current_notice->limit(1); - $current_notice->orderBy('created DESC'); - $current_notice->find(1); - $user = common_current_user(); assert($user); # XXX: maybe an error instead... $notice = DB_DataObject::factory('notice');