projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drop default for #PFX#_users::code_guar, now is foreign key of #PFX#_users::code...
[brisk.git]
/
web
/
Obj
/
dbase_file.phh
diff --git
a/web/Obj/dbase_file.phh
b/web/Obj/dbase_file.phh
index
9e8331a
..
d917a81
100644
(file)
--- a/
web/Obj/dbase_file.phh
+++ b/
web/Obj/dbase_file.phh
@@
-2,7
+2,7
@@
/*
* brisk - dbase_file.phh
*
/*
* brisk - dbase_file.phh
*
- * Copyright (C) 2006-201
1
Matteo Nastasi
+ * Copyright (C) 2006-201
2
Matteo Nastasi
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
@@
-38,7
+38,7
@@
class BriskDB {
log_main("BriskDB create:end");
}
log_main("BriskDB create:end");
}
- static function
&
create()
+ static function create()
{
$ret = new BriskDB();
{
$ret = new BriskDB();
@@
-87,10
+87,8
@@
class BriskDB {
return ($this->item[$idx]->login);
}
return ($this->item[$idx]->login);
}
- function
&
getitem_bylogin($login, &$id)
+ function getitem_bylogin($login, &$id)
{
{
- GLOBAL $G_false;
-
log_main("login_exists: ".$login);
/* check the existence of the nick in the BriskDB */
log_main("login_exists: ".$login);
/* check the existence of the nick in the BriskDB */
@@
-103,7
+101,7
@@
class BriskDB {
}
}
$id = -1;
}
}
$id = -1;
- return (
$G_false
);
+ return (
FALSE
);
}
function getmail($login)
}
function getmail($login)
@@
-134,11
+132,9
@@
class BriskDB {
return (FALSE);
}
return (FALSE);
}
- function
&
login_verify($login, $pass)
+ function login_verify($login, $pass)
{
{
- GLOBAL $G_false;
-
- $ret = &$G_false;
+ $ret = FALSE;
log_main("login_verify: ".$login);
log_main("login_verify: ".$login);
@@
-149,7
+145,7
@@
class BriskDB {
log_main("login[".$i."]: ".$this->item[$i]->login);
/* if it exists check for a valid challenge */
log_main("login[".$i."]: ".$this->item[$i]->login);
/* if it exists check for a valid challenge */
- if (($a_sem = Challenges::lock_data()) != FALSE) {
+ if (($a_sem = Challenges::lock_data(
TRUE
)) != FALSE) {
if (($chals = &Challenges::load_data()) != FALSE) {
for ($e = 0 ; $e < $chals->item_n ; $e++) {
if (($chals = &Challenges::load_data()) != FALSE) {
for ($e = 0 ; $e < $chals->item_n ; $e++) {
@@
-182,7
+178,7
@@
class BriskDB {
return ($ret);
}
return ($ret);
}
- function bin5_points_save($date, $t
tok, $tidx, $
codes, $pts)
+ function bin5_points_save($date, $t
able, $tidx, $action, $u
codes, $pts)
{
return TRUE;
}
{
return TRUE;
}