Changeset 1599


Ignore:
Timestamp:
2010년 02월 18일 11시 29분 35초 (2 years ago)
Author:
yupmin
Message:

rss에서 비밀글은 제외

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/metabbs/app/models/board.php

    r1593 r1599  
    5353        function get_feed_posts($count) { 
    5454                if (!$this->order_by) $this->order_by = 'id DESC'; 
    55                 return find_all('post', "board_id=$this->id AND NOT moved_to", $this->order_by, $count); 
     55                return find_all('post', "board_id=$this->id AND secret = 0 AND NOT moved_to", $this->order_by, $count); 
    5656        } 
    5757        function add_post(&$post) { 
Note: See TracChangeset for help on using the changeset viewer.