svn: /web/doc-editor/trunk/php/ class.php
| From: | Yannick Torres | Date: | Thu, 12 Nov 2009 17:51:36 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ class.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1171@lists.php.net to get a copy of this message | ||
yannick Thu, 12 Nov 2009 17:51:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290612
Log:
Remove getFilesPendingPatch's method from class.php. This method is present in
RepositoryFetcher.php as getPendingPatch'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:49:45 UTC (rev 290611)
+++ web/doc-editor/trunk/php/class.php 2009-11-12 17:51:36 UTC (rev 290612)
@@ -65,27 +65,6 @@
}
/**
- * Get all pending patch.
- *
- * @return An associated array containing all informations about pending patch.
- */
- function getFilesPendingPatch() {
-
- $s = sprintf('SELECT
id, CONCAT(lang, path) AS
path, name, posted_by AS \'by\', uniqID,
date FROM pendingPatch WHERE lang="%s" OR
lang=\'en\'', $this->cvsLang);
-
- $r = $this->db->query($s) or die('Error:
'.$this->db->error.'|'.$s);
- $nb = $r->num_rows;
-
- $node = array();
-
- while ($row = $r->fetch_assoc()) {
- $node[] = $row;
- }
-
- return array('nb' => $nb, 'node' => $node);
- }
-
- /**
* Get all files pending for commit.
*
* @return An associated array containing all informations about files pending for commit.