File modules/cms/action/language/LanguageSetdefaultAction.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\language; 3 use cms\action\Action; 4 use cms\action\LanguageAction; 5 use cms\action\Method; 6 use language\Messages; 7 8 9 class LanguageSetdefaultAction extends LanguageAction implements Method { 10 11 public function post() { 12 $this->language->setDefault(); 13 14 $this->addNoticeFor($this->language,Messages::DONE); 15 } 16 }
Downloadmodules/cms/action/language/LanguageSetdefaultAction.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. Thu, 19 Nov 2020 14:49:58 +0100 Jan Dankert Fix: Action::addNotice() is replaced by Action::addNoticeFor() Tue, 17 Nov 2020 23:51:00 +0100 Jan Dankert Refactoring: Every Actionmethod has now its own class.