remove current notice code which doesn't seem to do anything

darcs-hash:20080709073305-84dde-9e7f0d367ab9f3f762031501eb4c83f6410c6da7.gz
This commit is contained in:
Evan Prodromou 2008-07-09 03:33:05 -04:00
parent d40455405a
commit 8c575041dc
1 changed files with 0 additions and 6 deletions

View File

@ -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');