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:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290604
Log:
Remove getModifiedFiles's method from class.php. This method is present in RepositoryFetcher.php as getModifies'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:45:08 UTC (rev 290603)
+++ web/doc-editor/trunk/php/class.php 2009-11-12 17:46:04 UTC (rev 290604)
@@ -65,30 +65,6 @@
}
/**
- * Get all modified files.
- *
- * @return An associated array containing all informations about modified files.
- */
- function getModifiedFiles() {
-
- // Get Modified Files
- $s = sprintf('SELECT `id`, `lang`, `path`, `name`, `revision`,
- `en_revision`, `maintainer`, `reviewed` FROM `pendingCommit` WHERE
- `lang`="%s" OR `lang`="en"', $this->cvsLang);
-
- $r = $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
-
- $node = array();
-
- while ($a = $r->fetch_assoc()) {
- $node[$a['lang'].$a['path'].$a['name']] = $a;
- }
-
- return $node;
-
- }
-
- /**
* 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.