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:10:46 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=290533

Log:
Remove erasePersonalData's method from class.php. This method is present in AccountManager.php as eraseData'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:09:26 UTC (rev 290532)
+++ web/doc-editor/trunk/php/class.php	2009-11-11 21:10:46 UTC (rev 290533)
@@ -1832,22 +1832,6 @@
     }

     /**
-     * Erase personal data. Delete all reference into the DB for this user.
-     */
-    function erasePersonalData()
-    {
-
-        $s = sprintf('DELETE FROM `commitMessage` WHERE `userID`="%s"', $this->userID);
-        $this->db->query($s);
-
-        $s = sprintf('DELETE FROM `users` WHERE `userID`="%s"', $this->userID);
-        $this->db->query($s);
-
-        return;
-
-    }
-
-    /**
      * Get all files from the local copy.
      *
      * @param $node The start folder to retrieve files/folders from.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.