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

From: Date: Wed, 11 Nov 2009 21:27:48 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1138@lists.php.net to get a copy of this message
yannick Wed, 11 Nov 2009 21:27:48 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290541 Log: Remove markAsNeedDelete's method from class.php. This method is present in RepositoryManager.php as addPendingDelete'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:25:23 UTC (rev 290540) +++ web/doc-editor/trunk/php/class.php 2009-11-11 21:27:48 UTC (rev 290541) @@ -1918,25 +1918,6 @@ } /** - * Mark a file as need delete. - * - * @param $FilePath - * @param $FileName - * @return - */ - function markAsNeedDelete($FilePath, $FileName) - { - - $date = date("Y-m-d H:i:s"); - - $s = sprintf('INSERT INTO pendingCommit (lang, path, name, revision, en_revision, reviewed, maintainer, modified_by, date, type) VALUES ("%s","%s", "%s", "-", "-", "-", "-", "%s", "%s", "delete")', $this->cvsLang, $FilePath, $FileName, $this->cvsLogin, $date); - $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s); - - return Array('id'=>$this->db->insert_id, 'by'=>$this->cvsLogin, 'date'=>$date); - - } - - /** * Save buildLog status. * * @param $lang The lang checked

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