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:37:58 +0000

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

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

     /**
-     * Save an existing log message into DB.
-     *
-     * @param $messID The ID of the log message.
-     * @param $mess The message.
-     */
-    function saveLogMessage($messID, $mess)
-    {
-        $s = sprintf('UPDATE `commitMessage` SET `text`="%s" WHERE `id`="%s"', $this->db->real_escape_string($mess), $messID);
-        $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
-    }
-
-    /**
      * Delete a log message into DB.
      *
      * @param $messID The ID of the log message.
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.