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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sat, 12 Dec 2009 08:34:03 +0000

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

Log:
Update xmlid info

Changed paths:
    U   web/doc-editor/trunk/php/RepositoryManager.php

Modified: web/doc-editor/trunk/php/RepositoryManager.php
===================================================================
--- web/doc-editor/trunk/php/RepositoryManager.php	2009-12-12 08:24:32 UTC (rev 292026)
+++ web/doc-editor/trunk/php/RepositoryManager.php	2009-12-12 08:34:03 UTC (rev 292027)
@@ -500,6 +500,7 @@
                 $s = sprintf(
                     'UPDATE `files`
                         SET
+                            `xmlid`    = "%s",
                             `revision` = "%s",
                             `size`     = "%s",
                             `mdate`    = "%s"
@@ -507,7 +508,7 @@
                             `lang` = "%s" AND
                             `path` = "%s" AND
                             `name` = "%s"',
-                    $info['rev'], $size, $date, $file->lang, $file->path, $file->name
+                    $info['xmlid'], $info['rev'], $size, $date, $file->lang, $file->path, $file->name
                 );
                 DBConnection::getInstance()->query($s);

@@ -540,6 +541,7 @@
                 $s = sprintf(
                     'UPDATE `files`
                         SET
+                            `xmlid`      = "%s",
                             `revision`   = "%s",
                             `en_revision`= "%s",
                             `reviewed`   = "%s",
@@ -553,7 +555,7 @@
                             `lang` = "%s" AND
                             `path` = "%s" AND
                             `name` = "%s"',
-                    $info['en-rev'], $enInfo['rev'], trim($info['reviewed']), $size, $date,
+                    $info['xmlid'], $info['en-rev'], $enInfo['rev'], trim($info['reviewed']), $size, $date,
                     trim($info['maintainer']), trim($info['status']),   $size_diff,
                     $date_diff, $file->lang, $file->path, $file->name
                 );
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.