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

From: Date: Thu, 12 Nov 2009 17:49:45 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1170@lists.php.net to get a copy of this message
yannick Thu, 12 Nov 2009 17:49:45 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290611 Log: Remove getFilesNotInEn's method from class.php. This method is present in RepositoryFetcher.php as getNotInEn'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:49:29 UTC (rev 290610) +++ web/doc-editor/trunk/php/class.php 2009-11-12 17:49:45 UTC (rev 290611) @@ -65,37 +65,6 @@ } /** - * Get all files witch are not in EN tree. - * - * @return An associated array containing all informations about files witch are not in EN tree - */ - function getFilesNotInEn() { - - // Get Files Need Commit - $ModifiedFiles = $this->getModifiedFiles(); - - $s = sprintf('SELECT id, path, name FROM files WHERE lang="%s" AND status=\'NotInEN\'', $this->cvsLang); - - $r = $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s); - $nb = $r->num_rows; - - $node = array(); - - while ($a = $r->fetch_object()) { - - $node[] = array( - "id" => $a->id, - "path" => $a->path, - "name" => $a->name, - "needcommit" => ( isset($ModifiedFiles[$this->cvsLang.$a->path.$a->name]) ) ? true : false - ); - - } - - return array('nb' => $nb, 'node' => $node); - } - - /** * Get all pending patch. * * @return An associated array containing all informations about pending patch.

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