This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  0f104ca9f9d9165ad237adf297cdfa3fb052c668 (commit)
      from  e004dd1e8421ccf86e905c025698b54454848765 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=0f104ca9f9d9165ad237adf297cdfa3fb052c668

commit 0f104ca9f9d9165ad237adf297cdfa3fb052c668
Author: Franck Villaume <[email protected]>
Date:   Sun Mar 5 18:52:42 2017 +0100

    forge cli: documentDump, fix monitorId, fix reviews

diff --git a/src/bin/forge b/src/bin/forge
index 1dd13a4..a7f2ca2 100755
--- a/src/bin/forge
+++ b/src/bin/forge
@@ -321,7 +321,7 @@ class CliActions {
                                        $documentDump['versions'] = 
$dvf->getVersions();
                                        $serialIDs = $dvf->getSerialIDs();
                                        $drf = new DocumentReviewFactory($doc);
-                                       $documentDump['reviews'] = 
$drf->getReviews();
+                                       $documentDump['reviews'] = 
$drf->getReviews($serialIDs);
                                case 'latest':
                                        $documentDump['document'] = (array)$doc;
                                        
unset($documentDump['document']['Group']);
diff --git a/src/common/docman/Document.class.php 
b/src/common/docman/Document.class.php
index c179331..a18937d 100644
--- a/src/common/docman/Document.class.php
+++ b/src/common/docman/Document.class.php
@@ -613,7 +613,7 @@ class Document extends FFObject {
         * @return      array of user ids monitoring this Artifact.
         */
        function getMonitorIds() {
-               $MonitorElementObject = new MonitorElement('artifact');
+               $MonitorElementObject = new MonitorElement('docdata');
                return 
$MonitorElementObject->getMonitorUsersIdsInArray($this->getID());
        }
 

-----------------------------------------------------------------------

Summary of changes:
 src/bin/forge                        | 2 +-
 src/common/docman/Document.class.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to