function onDeleteError($packet) { Notification::append(null, $this->__('groups.deleted')); $m = new Rooms(); $m->setBookmark(); list($server, $node) = array_values($packet->content); $this->ajaxSubscriptions(); }
function onUnsubscribed($packet) { $arr = $packet->content; // Set the bookmark $r = new Rooms(); $r->setBookmark(); Notification::append(null, $this->__('group.unsubscribed')); }