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