svn: /web/doc-editor/trunk/php/ class.php
| From: | Yannick Torres | Date: | Thu, 12 Nov 2009 18:02:22 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ class.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1178@lists.php.net to get a copy of this message | ||
yannick Thu, 12 Nov 2009 18:02:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290622
Log:
Remove getStatsCritical's method from class.php. This method is present in
TranslationStatistic.php as getCriticalFileCount'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:01:40 UTC (rev 290621)
+++ web/doc-editor/trunk/php/class.php 2009-11-12 18:02:22 UTC (rev 290622)
@@ -275,36 +275,6 @@
}
/**
- * Get statistic about critical files witch need to be updated.
- *
- * @return An associated array (total=>nb files, total_size=>size of this files).
- */
- function getStatsCritical() {
-
- $s = sprintf('SELECT
- COUNT(
name) AS total,
- SUM(size) AS total_size
- FROM
- files
- WHERE
- lang="%s"
- AND
- ( en_revision - revision >= 10 OR
- ( en_revision != revision AND
- ( size_diff >= 3 OR mdate_diff <= -30 )
- ))
- AND
- size is not NULL
- ', $this->cvsLang);
-
- $result = $this->db->query($s) or die('Error:
'.$this->db->error.'|'.$s);
-
- $r = $result->fetch_array();
- $result = array($r['total'], $r['total_size']);
- return $result;
- }
-
- /**
* Get statistic about old files witch need to be uptadeted from LANG tree.
*
* @return An associated array (total=>nb files, total_size=>size of this files).