Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $result = $mo->find(
- array(
- 'node' => 'stream',
- array('$or' => array(
- 'user_id' => $this->session->userdata('user_id'),
- 'to' => $this->session->userdata('user_id')
- )
- )
- )
- )->sort(array('time' => -1))->limit(5);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement