summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 03:33:05 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 03:33:05 -0400
commit8c575041dcefaa5e732022f950a98887262c568c (patch)
treea705bd8cc5388f5340758e77e660b44b8b7f0fe2 /actions
parentd40455405afe5621bb46d7cce5f118c13126bb60 (diff)
remove current notice code which doesn't seem to do anything
darcs-hash:20080709073305-84dde-9e7f0d367ab9f3f762031501eb4c83f6410c6da7.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index aabf5ccd7..3abe875d5 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');