File modules/cms/action/profile/ProfilePingAction.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\Action; 4 use cms\action\Method; 5 use cms\action\ProfileAction; 6 7 class ProfilePingAction extends ProfileAction implements Method { 8 9 public function view() { 10 // Only visible in API requests. 11 $this->setTemplateVar('pong',1); 12 } 13 14 15 public function checkAccess() { 16 return true; 17 } 18 }
Downloadmodules/cms/action/profile/ProfilePingAction.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. Sun, 14 Mar 2021 22:29:56 +0100 Jan Dankert Refactoring: Clearer access check. Tue, 17 Nov 2020 23:51:00 +0100 Jan Dankert Refactoring: Every Actionmethod has now its own class.