svn: /web/doc-editor/trunk/php/ class.php
[email protected] (Yannick Torres)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
yannick Wed, 11 Nov 2009 21:07:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290530
Log:
Remove updateLastConnect's method from class.php. This method is present in AccountManager.php as updateLastConnect'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:05:16 UTC (rev 290529)
+++ web/doc-editor/trunk/php/class.php 2009-11-11 21:07:06 UTC (rev 290530)
@@ -398,17 +398,6 @@
}
/**
- * Update the date/time about the lastConnexion for this user, in DB
- *
- */
- function updateLastConnect() {
-
- $s = sprintf('UPDATE `users` SET `last_connect`=now() WHERE `userID`="%s"', $this->userID);
- $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
-
- }
-
- /**
* Parse a string to find all attributs.
*
* @param $tags_attrs The string to parse.