svn: /web/doc-editor/trunk/php/ class.php
| From: | Yannick Torres | Date: | Thu, 12 Nov 2009 18:09:58 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ class.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1185@lists.php.net to get a copy of this message | ||
yannick Thu, 12 Nov 2009 18:09:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290629
Log:
Remove translatorGetUptodate's method from class.php. This method is present in
TranslatorStatistic.php as getUptodateFileCount'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 18:09:15 UTC (rev 290628)
+++ web/doc-editor/trunk/php/class.php 2009-11-12 18:09:58 UTC (rev 290629)
@@ -90,35 +90,6 @@
}
/**
- * Get number of uptodate files per translators.
- *
- * @return An associated array (key=>translator's nick, value=>nb files).
- */
- function translatorGetUptodate()
- {
- $sql = sprintf('SELECT
- COUNT(
name) AS total,
- maintainer
- FROM
- files
- WHERE
- lang="%s"
- AND
- revision = en_revision
- GROUP BY
- maintainer
- ORDER BY
- maintainer', $this->cvsLang);
-
- $result = $this->db->query($sql) or die('Error:
'.$this->db->error.'|'.$s);
- $tmp = array();
- while ($r = $result->fetch_array()) {
- $tmp[$r['maintainer']] = $r['total'];
- }
- return $tmp;
- }
-
- /**
* Get number of old files per translators.
*
* @return An associated array (key=>translator's nick, value=>nb files).