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:42:18 +0000

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

Log:
Remove buildLog's method from class.php. This method is present in LogManager.php as saveBuildLogStatus'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:40:54 UTC (rev 290598)
+++ web/doc-editor/trunk/php/class.php	2009-11-12 17:42:18 UTC (rev 290599)
@@ -966,22 +966,6 @@
     } // get_last_update

     /**
-     * Save buildLog status.
-     *
-     * @param $lang The lang checked
-     * @param $status The status of the build. 0 if the build is broken, 1 otherwise.
-     */
-    function buildLog($lang, $status)
-    {
-
-        $s = sprintf('INSERT INTO `buildLog` (`project`, `lang`, `status`, `date`) VALUES ("php","%s", "%s", now())', $lang, $status);
-        $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s);
-
-        return;
-
-    }
-
-    /**
      * Get buildLog data.
      *
      */
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.