File modules/cms/action/profile/ProfileLanguageAction.class.php

Last commit: Sat Oct 17 02:16:28 2026 +0200	Jan Dankert	Refactoring: Removed empty view() and post() methods; OpenAPI cleanup, removed these unused paths.
1 <?php 2 namespace cms\action\profile; 3 use cms\action\Method; 4 use cms\action\ProfileAction; 5 use cms\base\Configuration; 6 7 class ProfileLanguageAction extends ProfileAction implements Method { 8 9 public function view() { 10 11 $this->setTemplateVar('language',Configuration::Conf()->get('language') ); 12 } 13 14 15 public function checkAccess() { 16 return true; 17 } 18 }
Download modules/cms/action/profile/ProfileLanguageAction.class.php
History Sat, 17 Oct 2026 02:16:28 +0200 Jan Dankert Refactoring: Removed empty view() and post() methods; OpenAPI cleanup, removed these unused paths. Mon, 29 Mar 2021 02:40:31 +0200 Jan Dankert Fix: Some profile actions were not readable with a guest user. Tue, 17 Nov 2020 23:51:00 +0100 Jan Dankert Refactoring: Every Actionmethod has now its own class.