示例#1
0
文件: Account.php 项目: Trim/movim
 function onRemoved()
 {
     $md = new Modl\MessageDAO();
     $md->clearMessage();
     $pd = new Modl\PostnDAO();
     $pd->deleteNode($this->user->getLogin(), 'urn:xmpp:microblog:0');
     RPC::call('Account.clearAccount');
 }
示例#2
0
文件: Post.php 项目: vijo/movim
 function ajaxGetComments($jid, $id)
 {
     $pd = new \Modl\PostnDAO();
     $pd->deleteNode($jid, "urn:xmpp:microblog:0:comments/" . $id);
     $c = new CommentsGet();
     $c->setTo($jid)->setId($id)->request();
 }