svn: /web/doc-editor/trunk/php/ class.php
| From: | Yannick Torres | Date: | Wed, 11 Nov 2009 21:04:04 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ class.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1125@lists.php.net to get a copy of this message | ||
yannick Wed, 11 Nov 2009 21:04:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290528
Log:
Remove registerUser's method from class.php. This method is present in AccountManager.php as
register's method
Changed paths:
U web/doc-editor/trunk/php/class.php
Modified: web/doc-editor/trunk/php/class.php
===================================================================
--- web/doc-editor/trunk/php/class.php 2009-11-11 21:02:59 UTC (rev 290527)
+++ web/doc-editor/trunk/php/class.php 2009-11-11 21:04:04 UTC (rev 290528)
@@ -452,19 +452,6 @@
}
/**
- * Register a new valid user on the application.
- *
- * @todo The CVS password is stored in plain text into the database for later use. We need to
find something better
- * @return int The database insert id
- */
- function registerUser()
- {
- $s = sprintf('INSERT INTO
users (cvs_login,
cvs_passwd) VALUES ("%s", "%s")', $this->cvsLogin,
$this->cvsPasswd);
- $this->db->query($s) or die('Error:
'.$this->db->error.'|'.$s);
- return $this->db->insert_id;
- }
-
- /**
* Parse a string to find all attributs.
*
* @param $tags_attrs The string to parse.