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:46:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290605
Log:
Remove getModifiedFilesById's method from class.php. This method is present in RepositoryFetcher.php as getModifiesById'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:46:04 UTC (rev 290604)
+++ web/doc-editor/trunk/php/class.php 2009-11-12 17:46:54 UTC (rev 290605)
@@ -65,33 +65,6 @@
}
/**
- * Get modified files by ID.
- * @param $id Can be a single ID or an array of id
- * @return An associated array containing all informations about modified files.
- */
- function getModifiedFilesById($id) {
-
- if( is_array($id) ) {
- $ids = implode($id, ',');
- } else {
- $ids = $id;
- }
-
- $s = sprintf('SELECT * FROM `pendingCommit` WHERE
- (`lang`="%s" OR `lang`="en") AND `id` IN (%s)', $this->cvsLang, $ids);
-
- $r = $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
-
- $nodes = array();
-
- while ($a = $r->fetch_assoc()) {
- $nodes[] = $a;
- }
-
- return $nodes;
- }
-
- /**
* Get all files witch need to be updated.
*
* @return An associated array containing all informations about files witch need to be updated.