mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fixed access_log not updateing logout times
This commit is contained in:
parent
2541a718b6
commit
578c6e0799
@ -1,6 +1,7 @@
|
||||
[0.9.2] - Fixed sorting bug in currentusers.php
|
||||
- Cleaned up error reporting and form in newaccount.php
|
||||
- Fixed viewaccounts.php not updated to the new accounts table.
|
||||
- Fixed access_log not being updated durring logouts.
|
||||
|
||||
[0.9.1] - Fixed a few missing variables with templates.
|
||||
- editing a product in the inventory program now forwards you back to the category
|
||||
|
@ -82,11 +82,11 @@
|
||||
$db->query($sql);
|
||||
|
||||
$sql = "create table access_log (
|
||||
sessionid varchar(30),
|
||||
loginid varchar(30),
|
||||
ip varchar(30),
|
||||
li int,
|
||||
lo int
|
||||
sessionid varchar(255),
|
||||
loginid varchar(30),
|
||||
ip varchar(30),
|
||||
li int,
|
||||
lo int
|
||||
)";
|
||||
$db->query($sql);
|
||||
|
||||
|
@ -82,7 +82,7 @@
|
||||
$db->query($sql);
|
||||
|
||||
$sql = "create table access_log (
|
||||
sessionid varchar(30),
|
||||
sessionid varchar(255),
|
||||
loginid varchar(30),
|
||||
ip varchar(30),
|
||||
li int,
|
||||
|
@ -185,6 +185,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function v0_9_1to0_9_2()
|
||||
{
|
||||
global $currentver, $newversion, $db;
|
||||
$didupgrade = True;
|
||||
if ($currentver == "9072000") {
|
||||
$db->query("alter table access_log change lo lo varchar(255)");
|
||||
}
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.1 to 0.9.2 is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
$currentver = "0_9_2";
|
||||
}
|
||||
|
||||
echo "<table border=\"0\" align=\"center\">\n";
|
||||
echo " <tr bgcolor=\"486591\">\n";
|
||||
echo " <td colspan=\"2\"><font color=\"fefefe\"> <b>Table Upgrades</b></font></td>\n";
|
||||
@ -195,6 +209,7 @@
|
||||
v8212000to9052000();
|
||||
v9052000to9072000();
|
||||
v9072000to0_9_1();
|
||||
v0_9_1to0_9_2();
|
||||
$db->query("update applications set app_version='$newversion' where (app_name='admin' or app_name='filemanager' or app_name='addressbook' or app_name='todo' or app_name='calendar' or app_name='email' or app_name='nntp' or app_name='cron_apps')");
|
||||
|
||||
if (!$didupgrade == True){
|
||||
|
Loading…
Reference in New Issue
Block a user