svn: /web/doc-editor/trunk/php/ class.php

From: Date: Thu, 12 Nov 2009 18:09:15 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1184@lists.php.net to get a copy of this message
yannick Thu, 12 Nov 2009 18:09:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290628 Log: Remove getTranslators's method from class.php. This method is present in TranslatorStatistic.php as getTranslators'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:06:29 UTC (rev 290627) +++ web/doc-editor/trunk/php/class.php 2009-11-12 18:09:15 UTC (rev 290628) @@ -65,24 +65,6 @@ } /** - * Get all translators informations. - * - * @return An associated array containing all informations about translators. - */ - function getTranslators() - { - $sql = sprintf('SELECT id, nick, name, mail, cvs FROM translators WHERE lang="%s"', $this->cvsLang); - $persons = array(); - $result = $this->db->query($sql) or die('Error: '.$this->db->error.'|'.$s); - - while ($r = $result->fetch_array()) { - $persons[$r['nick']] = array('id'=>$r['id'], 'name' => utf8_encode($r['name']), 'mail' => $r['mail'], 'cvs' => $r['cvs']); - } - - return $persons; - } - - /** * Get all statistiques about translators. * * @return An indexed array containing all statistiques about translators (nb uptodate files, nb old files, etc...)

« previous php.doc.web (#1184) next »