projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BUGFIX: highlight of prev/next trick didn't work all the time
[e-DoKo.git]
/
include
/
db.php
diff --git
a/include/db.php
b/include/db.php
index 1f02169f91cc589a408c6f3e0b4ad42e7801e3f3..6942cd62ffbe56219fdb47ecd0323323e51bcca7 100644
(file)
--- a/
include/db.php
+++ b/
include/db.php
@@
-30,7
+30,7
@@
if(!isset($HOST))
function DB_open()
{
function DB_open()
{
- $version_needed =
4
;
+ $version_needed =
5
;
global $DB,$DB_user,$DB_host,$DB_database,$DB_password;
$DB = @mysql_connect($DB_host,$DB_user, $DB_password);
global $DB,$DB_user,$DB_host,$DB_database,$DB_password;
$DB = @mysql_connect($DB_host,$DB_user, $DB_password);
@@
-951,6
+951,12
@@
function DB_set_recovery_password($user,$newpw)
return;
}
return;
}
+function DB_delete_recovery_passwords($userid)
+{
+ DB_query("DELETE FROM Recovery WHERE user_id=".DB_quote_smart($userid));
+ return;
+}
+
function DB_get_card_name($card)
{
if($card==0)
function DB_get_card_name($card)
{
if($card==0)