. * * @category Action * @package StatusNet * @author Craig Andrews * @copyright 2010 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ if (!defined('STATUSNET')) { exit(1); } /** * Administer site access settings * * @category Action * @package StatusNet * @author Craig Andrews * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ class RedirectAction extends Action { /** * These pages are read-only. * * @param array $args unused. * * @return boolean read-only flag (false) */ function isReadOnly(array $args=array()) { return true; } /** * Handle a request * * @param array $args array of arguments * * @return nothing */ function handle(array $args=array()) { common_redirect(common_local_url($this->arg('nextAction'), $this->arg('args'))); } }