svn: /web/doc-editor/trunk/php/ class.php
| From: | Yannick Torres | Date: | Wed, 11 Nov 2009 21:50:30 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ class.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1150@lists.php.net to get a copy of this message | ||
yannick Wed, 11 Nov 2009 21:50:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290553
Log:
Remove isModifiedFile's method from class.php. This method is present in File.php as
isModified'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:49:44 UTC (rev 290552)
+++ web/doc-editor/trunk/php/class.php 2009-11-11 21:50:30 UTC (rev 290553)
@@ -65,26 +65,6 @@
}
/**
- * Test if the file is a modified file.
- *
- * @param $lang The lang of the tested file.
- * @param $path The path of the tested file.
- * @param $name The name of the tested file.
- *
- * @return Boolean TRUE if the file is a modified file, FALSE otherwise.
- */
- function isModifiedFile($lang, $path, $name) {
-
- $s = sprintf('SELECT
id, lang, path,
name FROM pendingCommit WHERE
- lang="%s" AND path="%s" AND
name="%s"', $lang, $path, $name);
-
- $r = $this->db->query($s) or die('Error:
'.$this->db->error.'|'.$s);
-
- return ( $r->num_rows == 0 ) ? FALSE : TRUE;
-
- }
-
- /**
* Get all modified files.
*
* @return An associated array containing all informations about modified files.