1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class GroupbyidAction extends ShowgroupAction
- {
-
- protected $group = null;
- function isReadOnly($args)
- {
- return true;
- }
- protected function doPreparation()
- {
- $this->group = User_group::getByID($this->arg('id'));
- $this->target = $this->group->getProfile();
- if ($this->target->isLocal()) {
- common_redirect($this->target->getUrl());
- }
- }
- }
|