mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Normalize whitespace
This commit is contained in:
parent
18cf4e7c0a
commit
a7f32afb21
4 changed files with 17 additions and 17 deletions
|
|
@ -21,7 +21,7 @@ class counterAdminView extends counter
|
|||
}
|
||||
|
||||
/**
|
||||
* Admin page
|
||||
* Admin page
|
||||
*
|
||||
* @return Object
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue