projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
js: remove 'dollar' function duplicated declaration
[brisk.git]
/
web
/
Obj
/
dbase_pgsql.phh
diff --git
a/web/Obj/dbase_pgsql.phh
b/web/Obj/dbase_pgsql.phh
index
d923fb9
..
e744425
100644
(file)
--- a/
web/Obj/dbase_pgsql.phh
+++ b/
web/Obj/dbase_pgsql.phh
@@
-200,12
+200,12
@@
class BriskDB
return TRUE;
}
return TRUE;
}
- function user_
licence_update($code, $lice
_vers)
+ function user_
tos_update($code, $tos
_vers)
{
GLOBAL $G_dbpfx;
{
GLOBAL $G_dbpfx;
- $user_sql = sprintf("UPDATE %susers SET (
lice
_vers) = ('%s') WHERE code = %d;",
- $G_dbpfx, escsql($
lice
_vers), $code);
+ $user_sql = sprintf("UPDATE %susers SET (
tos
_vers) = ('%s') WHERE code = %d;",
+ $G_dbpfx, escsql($
toss
_vers), $code);
fprintf(STDERR, "REQUEST [%s]\n", $user_sql);
if ( ! (($user_pg = $this->query($user_sql)) != FALSE && pg_affected_rows($user_pg) == 1) ) {
return FALSE;
fprintf(STDERR, "REQUEST [%s]\n", $user_sql);
if ( ! (($user_pg = $this->query($user_sql)) != FALSE && pg_affected_rows($user_pg) == 1) ) {
return FALSE;