summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/newnotice.php')
-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');