function ajaxDisco($server) { if (!$this->validateServer($server)) { return; } $r = new Items(); $r->setTo($server)->request(); }
function ajaxDisco($server) { if (!$this->validateServer($server)) { Notification::append(null, $this->__('groups.disco_error')); return; } RPC::call('MovimTpl.fill', '#groups_widget', ''); $r = new Items(); $r->setTo($server)->request(); }