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

From: Date: Wed, 11 Nov 2009 22:00:13 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1153@lists.php.net to get a copy of this message
yannick Wed, 11 Nov 2009 22:00:13 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290556 Log: Remove getRawDiff's method from class.php. This method is present in File.php as rawDiff'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:58:45 UTC (rev 290555) +++ web/doc-editor/trunk/php/class.php 2009-11-11 22:00:13 UTC (rev 290556) @@ -827,23 +827,6 @@ } /** - * Get a raw diff between a file and a modified file. - * - * @param $path The path to the file. - * @param $file The name of the file. - * @return The diff of the file with his modified version. - */ - function getRawDiff($path, $file) { - - $cmd = 'cd '.DOC_EDITOR_CVS_PATH.$path.'; diff -uN '.$file.' '.$file.'.new'; - - $output = array(); - exec($cmd, $output); - return implode("\r\n",$output); - - } - - /** * Get the diff of a file with his modified version. * * @param $path The path to the file.

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