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

From: Date: Wed, 11 Nov 2009 21:15:52 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1132@lists.php.net to get a copy of this message
yannick Wed, 11 Nov 2009 21:15:52 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290535 Log: Remove checkoutRepository's method from class.php. This method is present in RepositoryManager.php as checkoutRepository'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:11:34 UTC (rev 290534) +++ web/doc-editor/trunk/php/class.php 2009-11-11 21:15:52 UTC (rev 290535) @@ -65,23 +65,6 @@ } /** - * Checkout the phpdoc-all repository. - * This method must be call ONLY by the /firstRun.php script. - */ - function checkoutRepository() { - - $lock = new LockFile('lock_checkout_repository'); - - if ($lock->lock()) { - // We exec the checkout - $cmd = "cd " . DOC_EDITOR_DATA_PATH ."; cvs -d :pserver:cvsread:phpfi@cvs.php.net:/repository login; cvs -d :pserver:cvsread:phpfi@cvs.php.net:/repository checkout phpdoc-all;"; - exec($cmd); - } - - $lock->release(); - } - - /** * Check is the File/Folder must be parsed or not. * * @param $lang The lang for this File/Folder.

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