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 712878dfc283c52e53d231dbc14a6767e4a1dbad (commit)
from c40f94545421dfb331eb4e2eab3b51c996ccc9aa (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=712878dfc283c52e53d231dbc14a6767e4a1dbad
commit 712878dfc283c52e53d231dbc14a6767e4a1dbad
Author: Franck Villaume <[email protected]>
Date: Mon Oct 10 15:00:33 2016 +0200
fix comments
diff --git a/src/common/docman/DocumentFactory.class.php
b/src/common/docman/DocumentFactory.class.php
index 1042b3b..8a24e96 100644
--- a/src/common/docman/DocumentFactory.class.php
+++ b/src/common/docman/DocumentFactory.class.php
@@ -1,4 +1,4 @@
-<?php
+?php
/**
* FusionForge Documentation Manager
*
@@ -81,7 +81,7 @@ class DocumentFactory extends FFError {
/**
* The docgroupstate
* @var int Contains the valid state of documentgroups to retrieve
documents using getDocuments.
- * Default value is 1 which means public any
+ * Default value is 1 which means public
*/
var $docgroupstate = 1;
@@ -273,7 +273,7 @@ class DocumentFactory extends FFError {
/**
* setDocGroupState - call this before getDocuments() to setup correct
permission settings for retrieve authorized documents.
- * default value is 1 which means : no limit.
+ * default value is 1 which means : public.
*
* @param array $state The array of valid state of
documentgroups
* @access public
@@ -348,7 +348,7 @@ class DocumentFactory extends FFError {
array($this->Group->getID(),
$this->docgroupstate));
$result = db_query_qpa($qpa);
if (!$result) {
- $this->setError('getFromStorage:'.db_error());
+ $this->setError('ValidDocumentGroups:'.db_error());
return false;
}
while ($arr = db_fetch_array($result)) {
-----------------------------------------------------------------------
Summary of changes:
src/common/docman/DocumentFactory.class.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits