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