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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 28 Mar 2010 19:54:43 +0000

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

Log:
Store updateData info

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-03-28 19:54:12 UTC (rev 296993)
+++ web/doc-editor/trunk/scripts/cron/update_data.php	2010-03-28 19:54:43 UTC (rev 296994)
@@ -76,8 +76,11 @@
         TranslationStatistic::getInstance()->computeSummary('all');
         TranslatorStatistic::getInstance()->computeSummary('all');

-        // Set lastUpdate date/time
-        $rm->setLastUpdate('data');
+        // Store this info
+        $info = array();
+        $info['user']   = 'root';
+
+        $rm->setStaticValue('info', 'updateData', json_encode($info), true);
     }
     $lock->release();
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.