svn: /web/doc-editor/trunk/php/ class.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Thu, 12 Nov 2009 17:38:52 +0000

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

Log:
Remove deleteLogMessage's method from class.php. This method is present in LogManager.php as delCommitLog'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-12 17:37:58 UTC (rev 290595)
+++ web/doc-editor/trunk/php/class.php	2009-11-12 17:38:52 UTC (rev 290596)
@@ -926,17 +926,6 @@
     }

     /**
-     * Delete a log message into DB.
-     *
-     * @param $messID The ID of the log message.
-     */
-    function deleteLogMessage($messID)
-    {
-        $s = sprintf('DELETE FROM `commitMessage` WHERE `id`="%s"', $messID);
-        $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
-    }
-
-    /**
      * Get all files for a given php's extension.
      *
      * @param $ExtName The name of the extension.
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.