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

From: Date: Wed, 11 Nov 2009 21:19:34 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1134@lists.php.net to get a copy of this message
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'

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