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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Wed, 11 Nov 2009 21:19:34 +0000

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

Log:
Remove checkBuild's method from class.php. This method is present in RepositoryManager.php as checkBuild'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-11 21:18:04 UTC (rev 290536)
+++ web/doc-editor/trunk/php/class.php	2009-11-11 21:19:34 UTC (rev 290537)
@@ -1427,30 +1427,6 @@
     }

     /**
-     * Check the build of your file (using configure.php script).
-     * PHP binary should be in /usr/bin
-     *
-     * @return The output log.
-     */
-    function checkBuild($enable_xml_details='false') {
-        $cmd = 'cd '.DOC_EDITOR_CVS_PATH.';/usr/bin/php configure.php --with-lang='.$this->cvsLang.' --disable-segfault-error';
-
-        if ($enable_xml_details == 'true' ) {
-            $cmd .= ' --enable-xml-details';
-        }
-
-        $cmd .= ';';
-
-        $output = array();
-        exec($cmd, $output);
-
-        //Format the outPut
-        $output = str_replace("Warning", '<span style="color: #FF0000; font-weight: bold;">Warning</span>', $output);
-
-        return $output;
-    }
-
-    /**
      * Delete local change of a file.
      *
      * @param $type The type of the file. Can be 'update', 'delete' or new'
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.