コード例 #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();
 }