svn: /web/doc-editor/trunk/php/ class.php
| From: | Yannick Torres | Date: | Thu, 12 Nov 2009 17:37:58 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ class.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1159@lists.php.net to get a copy of this message | ||
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.