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 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.
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.