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: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:[email protected]:/repository login; cvs -d :pserver:cvsread:[email protected]:/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.