svn: /web/doc-editor/trunk/scripts/cron/ update_data.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Wed, 03 Feb 2010 18:17:32 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=294432

Log:
Remove dev tag

Changed paths:
    U   web/doc-editor/trunk/scripts/cron/update_data.php

Modified: web/doc-editor/trunk/scripts/cron/update_data.php
===================================================================
--- web/doc-editor/trunk/scripts/cron/update_data.php	2010-02-03 18:16:30 UTC (rev 294431)
+++ web/doc-editor/trunk/scripts/cron/update_data.php	2010-02-03 18:17:32 UTC (rev 294432)
@@ -27,7 +27,7 @@
     $pm->setProject($project['code']);

     // VCS update
-    //$rm->updateRepository();
+    $rm->updateRepository();

     // After update the repo, we need to chmod all file to be able to save it again as www server user & group
     $cmd = "cd ".$DOC_EDITOR_VCS_PATH."; chmod -R 777 ./; chown -R  ".$DOC_EDITOR_WWW_USER.":".$DOC_EDITOR_WWW_GROUP." ./";
@@ -43,21 +43,16 @@
     if ($lock->lock()) {

         // Start Revcheck
-echo "apply revcheck\n";
         $rm->applyRevCheck();

         // Search for NotInEN Old Files
-echo "apply notInEN\n";
         $rm->updateNotInEN();

         // Parse translators
-echo "apply TranslatorInfo\n";
         $rm->updateTranslatorInfo();

         // Compute all summary
-echo "apply translation computeSummary\n";
         TranslationStatistic::getInstance()->computeSummary('all');
-echo "apply translator computeSummary\n";
         TranslatorStatistic::getInstance()->computeSummary('all');

         // Set lastUpdate date/time
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.