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, 6.0 has been updated
       via  27bd07697aa21d73135057cca79478e081d389fc (commit)
      from  aeece8070a7f75ef5b41f8d7ee3e521cb5a3d2ed (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=27bd07697aa21d73135057cca79478e081d389fc

commit 27bd07697aa21d73135057cca79478e081d389fc
Author: Franck Villaume <[email protected]>
Date:   Sat Jul 4 16:39:17 2015 +0200

    docman: remove blocking update check

diff --git a/src/common/docman/Document.class.php 
b/src/common/docman/Document.class.php
index a7c5ffc..9aad002 100644
--- a/src/common/docman/Document.class.php
+++ b/src/common/docman/Document.class.php
@@ -818,12 +818,6 @@ class Document extends Error {
                        return false;
                }
 
-               $dg = new DocumentGroup($this->getGroup(), $doc_group);
-               if ($dg->hasDocument($filename)) {
-                       $this->setError(_('Document already published in this 
folder').' '.$dg->getPath());
-                       return false;
-               }
-
                db_begin();
                $colArr = array('title', 'description', 'stateid', 'doc_group', 
'filetype', 'filename', 'updatedate', 'locked', 'locked_by');
                $valArr = array(htmlspecialchars($title), 
htmlspecialchars($description), $stateid, $doc_group, $filetype, $filename, 
time(), 0, NULL);

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

Summary of changes:
 src/common/docman/Document.class.php | 6 ------
 1 file changed, 6 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