From a7f32afb214fe53e68ccdd9b3d689b02132399eb Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 11 May 2025 01:10:30 +0900 Subject: [PATCH] Normalize whitespace --- modules/counter/counter.admin.view.php | 2 +- modules/counter/counter.class.php | 6 +++--- modules/counter/counter.controller.php | 14 +++++++------- modules/counter/counter.model.php | 12 ++++++------ 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/modules/counter/counter.admin.view.php b/modules/counter/counter.admin.view.php index ccfb9f1a5..9d50b1b3e 100644 --- a/modules/counter/counter.admin.view.php +++ b/modules/counter/counter.admin.view.php @@ -21,7 +21,7 @@ class counterAdminView extends counter } /** - * Admin page + * Admin page * * @return Object */ diff --git a/modules/counter/counter.class.php b/modules/counter/counter.class.php index f6aa96ddc..4038ac3dd 100644 --- a/modules/counter/counter.class.php +++ b/modules/counter/counter.class.php @@ -15,7 +15,7 @@ class counter extends ModuleObject */ function moduleInstall() { - + } /** @@ -30,7 +30,7 @@ class counter extends ModuleObject { return true; } - + return false; } @@ -55,7 +55,7 @@ class counter extends ModuleObject */ function recompileCache() { - + } } diff --git a/modules/counter/counter.controller.php b/modules/counter/counter.controller.php index f44724eeb..560eb951b 100644 --- a/modules/counter/counter.controller.php +++ b/modules/counter/counter.controller.php @@ -70,11 +70,11 @@ class counterController extends counter { $oDB = DB::getInstance(); $oDB->begin(); - + $args = new stdClass(); $args->regdate = [0, $date = date('Ymd')]; executeQuery('counter.updateCounterUnique', $args); - + $affected_rows = $oDB->getAffectedRows(); if ($affected_rows == 1) { @@ -88,9 +88,9 @@ class counterController extends counter $args->regdate = 0; executeQuery('counter.insertTodayStatus', $args); } - + $this->insertLog(); - + $oDB->commit(); } @@ -119,15 +119,15 @@ class counterController extends counter */ public function insertTotalStatus() { - + } - + /** * @deprecated */ public function deleteSiteCounterLogs() { - + } } /* End of file counter.controller.php */ diff --git a/modules/counter/counter.model.php b/modules/counter/counter.model.php index cab0307b8..8b3df2406 100644 --- a/modules/counter/counter.model.php +++ b/modules/counter/counter.model.php @@ -29,7 +29,7 @@ class counterModel extends counter { return true; } - + $args = new stdClass(); $args->regdate = $date; $args->ipaddress = \RX_CLIENT_IP; @@ -39,24 +39,24 @@ class counterModel extends counter { $_SESSION['counter_logged'][$date] = true; } - + return $iplogged; } /** - * Check if a row of today's counter status exists + * Check if a row of today's counter status exists * * @deprecated */ public static function isInsertedTodayStatus() { - + } /** * Get access statistics for a given date * - * @param mixed $selected_date Date(YYYYMMDD) list + * @param mixed $selected_date Date(YYYYMMDD) list * @return Object */ public static function getStatus($selected_date) @@ -212,7 +212,7 @@ class counterModel extends counter $status->max = $max; $status->sum = $sum; - + return $status; }