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:43:04 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=290600

Log:
Remove getBuildStatusData's method from class.php. This method is present in LogManager.php as getBuildLogStatus'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:42:18 UTC (rev 290599)
+++ web/doc-editor/trunk/php/class.php	2009-11-12 17:43:04 UTC (rev 290600)
@@ -965,26 +965,5 @@

     } // get_last_update

-    /**
-     * Get buildLog data.
-     *
-     */
-    function getBuildStatusData()
-    {

-        $node = array();
-
-        $s = 'SELECT `id`, `lang`, `status`, `date` FROM `buildLog`';
-
-        $r    = $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
-        $nb   = $r->num_rows;
-
-        while ($a = $r->fetch_assoc()) {
-            $node[] = $a;
-        }
-
-        return array('nb' => $nb, 'node' => $node);
-
-    }
-
 } // End of class
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.