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 20:55:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290524
Log:
Remove cleanUp's method from class.php. This method is present in RepositoryManager.php as cleanUp'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 20:51:44 UTC (rev 290523)
+++ web/doc-editor/trunk/php/class.php 2009-11-11 20:55:54 UTC (rev 290524)
@@ -482,18 +482,6 @@
$lock->release();
}
- /**
- * CleanUp the dataBase before an Update.
- *
- * @see updateRepository
- */
- function cleanUp()
- {
- // We cleanUp the database before update Cvs and apply again all tools
- foreach (array('files', 'translators', 'errorfiles') as $table) {
- $this->db->query(sprintf('TRUNCATE TABLE %s', $table)) or die('Error: '.$this->db->error.'|'.$s);
- }
- }
/**
* Get Cvs log of a specified file.