CC-3175: Delete database tables on uninstall
-fixed
This commit is contained in:
parent
2d04d7eb83
commit
0077c8329f
2 changed files with 10 additions and 4 deletions
|
@ -300,7 +300,7 @@ class AirtimeInstall
|
|||
{
|
||||
global $CC_DBC;
|
||||
|
||||
$defaultTimezone = date_default_timezone_get();
|
||||
$defaultTimezone = exec("cat /etc/timezone");
|
||||
|
||||
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('timezone', '$defaultTimezone')";
|
||||
$result = $CC_DBC->query($sql);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue