Skip to content

Commit

Permalink
Move classes to "helpers" directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Skouat committed Dec 23, 2024
1 parent 9c93087 commit 5782d93
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions controller/admin/overview_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ class overview_controller extends admin_main
* @param string $adm_relative_path phpBB admin relative path
* @param string $phpbb_root_path phpBB root path
* @param string $php_ext phpEx
*
* @access public
*/
public function __construct(
auth $auth,
Expand Down Expand Up @@ -114,9 +112,7 @@ public function __construct(
*
* @param string $action Action name
*
* @return void
* @throws \ReflectionException
* @access public
*/
public function display_overview(string $action): void
{
Expand All @@ -143,9 +139,7 @@ public function display_overview(string $action): void
*
* @param string $action The action to be executed.
*
* @return void
* @throws \ReflectionException
* @access private
*/
private function do_action(string $action): void
{
Expand All @@ -167,9 +161,6 @@ private function do_action(string $action): void
* Display confirm box
*
* @param string $action Requested action
*
* @return void
* @access private
*/
private function display_confirm(string $action): void
{
Expand Down Expand Up @@ -197,9 +188,7 @@ private function display_confirm(string $action): void
/**
* @param string $action Requested action
*
* @return void
* @throws \ReflectionException
* @access private
*/
private function exec_action(string $action): void
{
Expand Down Expand Up @@ -256,7 +245,6 @@ private function prepare_template_vars($ext_meta): array
* @param string $config_name
*
* @return string
* @access private
*/
private function per_day_stats(string $config_name): string
{
Expand All @@ -267,7 +255,6 @@ private function per_day_stats(string $config_name): string
* Returns the number of days from the date of installation of the extension.
*
* @return float
* @access private
*/
private function get_install_days(): float
{
Expand Down Expand Up @@ -295,8 +282,6 @@ private function prepare_sandbox_template_vars(): array
/**
* Handles the 'date' action.
* Resets the installation date to yesterday and logs the action.
*
* @return void
*/
private function handle_date_action(): void
{
Expand All @@ -307,8 +292,7 @@ private function handle_date_action(): void
/**
* Handles the 'esi' (Extension System Information) action.
* Triggers a retest of the extension's system information and logs the action.
*
* @return void
* @throws \ReflectionException
*/
private function handle_esi_action(): void
{
Expand All @@ -320,8 +304,6 @@ private function handle_esi_action(): void
/**
* Handles the 'sandbox' action.
* Updates the overview statistics for the sandbox environment and logs the action.
*
* @return void
*/
private function handle_sandbox_action(): void
{
Expand All @@ -333,8 +315,6 @@ private function handle_sandbox_action(): void
/**
* Handles the 'stats' action.
* Updates the overview statistics for the live environment and logs the action.
*
* @return void
*/
private function handle_stats_action(): void
{
Expand Down

0 comments on commit 5782d93

Please sign in to comment.