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

From: Date: Wed, 11 Nov 2009 20:55:54 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1122@lists.php.net to get a copy of this message
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.

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