remove current notice code which doesn't seem to do anything
darcs-hash:20080709073305-84dde-9e7f0d367ab9f3f762031501eb4c83f6410c6da7.gz
This commit is contained in:
parent
d40455405a
commit
8c575041dc
|
@ -36,12 +36,6 @@ class NewnoticeAction extends Action {
|
||||||
|
|
||||||
function save_new_notice() {
|
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();
|
$user = common_current_user();
|
||||||
assert($user); # XXX: maybe an error instead...
|
assert($user); # XXX: maybe an error instead...
|
||||||
$notice = DB_DataObject::factory('notice');
|
$notice = DB_DataObject::factory('notice');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user