V0 : initial import
This commit is contained in:
16
ProserveAPI/htdocs/proserve/session/fixdurations.php
Normal file
16
ProserveAPI/htdocs/proserve/session/fixdurations.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// include database and object files
|
||||
include_once '../config/init.php'; // contains $db
|
||||
include_once '../config/error.php';
|
||||
include_once '../objects/stats_object.php';
|
||||
|
||||
$stats = new StatsObject($db);
|
||||
$nb = $stats->fixDurations();
|
||||
|
||||
/*if ($nb == 0)
|
||||
echo "No session to be corrected.";
|
||||
else if ($nb == 1)
|
||||
echo $nb . " session has been corrected.";
|
||||
else
|
||||
echo $nb . " sessions have been corrected.";*/
|
||||
?>
|
||||
Reference in New Issue
Block a user