]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
remove current notice code which doesn't seem to do anything
authorEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 07:33:05 +0000 (03:33 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 07:33:05 +0000 (03:33 -0400)
darcs-hash:20080709073305-84dde-9e7f0d367ab9f3f762031501eb4c83f6410c6da7.gz

actions/newnotice.php

index aabf5ccd7788077b25d8f0cb782844fc73ea8cd5..3abe875d5c046a10edf04283b6f2d1b2d517d674 100644 (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');