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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.