svn: /web/doc-editor/trunk/php/ class.php
| From: | Yannick Torres | Date: | Wed, 11 Nov 2009 21:09:26 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ class.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1129@lists.php.net to get a copy of this message | ||
yannick Wed, 11 Nov 2009 21:09:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290532
Log:
Remove updateConf's method from class.php. This method is present in AccountManager.php as
updateConf'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:07:52 UTC (rev 290531)
+++ web/doc-editor/trunk/php/class.php 2009-11-11 21:09:26 UTC (rev 290532)
@@ -1832,26 +1832,6 @@
}
/**
- * Update an option in user configuration database
- *
- * @param $item The name of the option.
- * @param $value The value of the option.
- */
- function updateConf($item, $value)
- {
-
- $s = sprintf('UPDATE
users SET %s="%s" WHERE
cvs_login="%s"', $item, $value, $this->cvsLogin);
-
- $this->db->query($s) or die('Error:
'.$this->db->error.'|'.$s);
-
- // In session
- $this->userConf[$item] = $value;
- $_SESSION['userConf'][$item] = $value;
-
- return '';
- }
-
- /**
* Erase personal data. Delete all reference into the DB for this user.
*/
function erasePersonalData()