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

From: Date: Thu, 12 Nov 2009 17:52:05 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1172@lists.php.net to get a copy of this message
yannick Thu, 12 Nov 2009 17:52:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290613 Log: Remove getFilesPendingCommit's method from class.php. This method is present in RepositoryFetcher.php as getPendingCommit'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:51:36 UTC (rev 290612) +++ web/doc-editor/trunk/php/class.php 2009-11-12 17:52:05 UTC (rev 290613) @@ -65,35 +65,6 @@ } /** - * Get all files pending for commit. - * - * @return An associated array containing all informations about files pending for commit. - */ - function getFilesPendingCommit() { - - $s = sprintf('SELECT * FROM pendingCommit WHERE lang="%s" OR lang=\'en\'', $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->lang.$a->path, - "name" => $a->name, - "by" => $a->modified_by, - "date" => $a->date, - "type" => $a->type - ); - - } - - return array('nb'=>$nb, 'node'=>$node); - } - - /** * Get all translators informations. * * @return An associated array containing all informations about translators.

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