Esempio n. 1
0
 /**
  * Function wrapper for listPendingPosts but used for current user.
  *
  */
 public function listPendingPostsForCurrentUser($options = array())
 {
     $userId = vB::getCurrentSession()->get('userid');
     if (!$userId) {
         return array();
     }
     return $this->library->listPendingPostsForCurrentUser($options);
 }