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 22:04:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290560
Log:
Remove getCommitLogMessage's method from class.php. This method is present in LogManager.php as getCommitLog'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 22:03:30 UTC (rev 290559)
+++ web/doc-editor/trunk/php/class.php 2009-11-11 22:04:53 UTC (rev 290560)
@@ -803,26 +803,6 @@
}
/**
- * Get all commit message.
- *
- * Each time we commit, we store in DB the commit message to be use later. This method get all this message from DB.
- *
- * @return An indexed array of commit message.
- */
- function getCommitLogMessage()
- {
- $result = array();
-
- $s = sprintf('SELECT `id`, `text` FROM `commitMessage` WHERE userID="%s"', $this->userID);
- $r = $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
- while ($a = $r->fetch_assoc()) {
- $result[] = $a;
- }
-
- return $result;
- }
-
- /**
* Save Output message into a log file.
*
* @param $file The name of the file.