]> dev.renevier.net Git - syp.git/blobdiff - inc/db/anydb.php
interface to change password
[syp.git] / inc / db / anydb.php
index 8ccdf127a7194631a5cf3f5e207619d47818ea3b..1094365eb42a6201d99bdd0e851427d096e60977 100644 (file)
@@ -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);