X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fdb%2Fanydb.php;h=1094365eb42a6201d99bdd0e851427d096e60977;hp=8ccdf127a7194631a5cf3f5e207619d47818ea3b;hb=939514b912738c5784b04a0d207db1afd918eb69;hpb=3b38ca36fc18d34999073625a9c66dc2f05747a3 diff --git a/inc/db/anydb.php b/inc/db/anydb.php index 8ccdf12..1094365 100644 --- a/inc/db/anydb.php +++ b/inc/db/anydb.php @@ -93,9 +93,14 @@ interface anydbConnection { */ public function create_items_table(); + /* + * returns true if $usrname is name of an existing user, false otherwise. + */ + public function user_exists ($usrname); + /* * set password $pwd for user $usrname. If $usrname does not exist, create - * it. + * it */ public function setpwd($usrname, $pwd);