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 81a53ef139a913138e45b18ab4dbcf750141473a (commit)
from eb03ca04ee4516b3ff7f3b91a34cd14b6858a9b4 (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=81a53ef139a913138e45b18ab4dbcf750141473a
commit 81a53ef139a913138e45b18ab4dbcf750141473a
Author: Marc-Etienne Vargenau <[email protected]>
Date: Mon Jun 6 18:50:50 2016 +0200
It's called __construct, no need to say it's a constructor
diff --git a/src/common/docman/Document.class.php
b/src/common/docman/Document.class.php
index aeb8d1f..c65e8bb 100644
--- a/src/common/docman/Document.class.php
+++ b/src/common/docman/Document.class.php
@@ -81,15 +81,12 @@ class Document extends FFError {
var $Group;
/**
- * Constructor.
- *
* @param $Group
* @param bool $docid
* @param bool $arr
* @internal param \The $object Group object to which this
document is associated.
* @internal param \The $int docid.
* @internal param \The $array associative array of data.
- * @return \Document
*/
function __construct(&$Group, $docid = false, $arr = false) {
parent::__construct();
diff --git a/src/common/docman/DocumentFactory.class.php
b/src/common/docman/DocumentFactory.class.php
index 548c231..1120900 100644
--- a/src/common/docman/DocumentFactory.class.php
+++ b/src/common/docman/DocumentFactory.class.php
@@ -95,12 +95,8 @@ class DocumentFactory extends FFError {
var $validdocumentgroups = array();
/**
- * Constructor.
- *
* @param $Group
* @internal param \The $object Group object to which this
DocumentFactory is associated.
- * @return \DocumentFactory
- * @access public
*/
function __construct(&$Group) {
parent::__construct();
diff --git a/src/common/docman/DocumentGroup.class.php
b/src/common/docman/DocumentGroup.class.php
index 351ad53..856a0bc 100644
--- a/src/common/docman/DocumentGroup.class.php
+++ b/src/common/docman/DocumentGroup.class.php
@@ -76,16 +76,12 @@ class DocumentGroup extends FFError {
var $data_array;
/**
- * DocumentGroup - constructor.
- *
* Use this constructor if you are modifying an existing doc_group.
*
* @param $Group
* @param bool $data
* @internal param \Group $object object.
* @internal param array $OR doc_group id from database.
- * @return \DocumentGroup
- * @access public
*/
function __construct(&$Group, $data = false) {
parent::__construct();
diff --git a/src/common/docman/DocumentGroupFactory.class.php
b/src/common/docman/DocumentGroupFactory.class.php
index e1252e6..90a12e5 100644
--- a/src/common/docman/DocumentGroupFactory.class.php
+++ b/src/common/docman/DocumentGroupFactory.class.php
@@ -49,10 +49,7 @@ class DocumentGroupFactory extends FFError {
var $Group;
/**
- * Constructor.
- *
* @param $Group
- * @return \DocumentGroupFactory
*/
function __construct(&$Group) {
parent::__construct();
diff --git a/src/common/docman/DocumentManager.class.php
b/src/common/docman/DocumentManager.class.php
index ee72555..7d0a502 100644
--- a/src/common/docman/DocumentManager.class.php
+++ b/src/common/docman/DocumentManager.class.php
@@ -45,11 +45,8 @@ class DocumentManager extends FFError {
var $Group;
/**
- * Constructor.
- *
* @param $Group
* @internal param \The $object Group object to which this
document is associated.
- * @return \DocumentManager
*/
function __construct(&$Group) {
parent::__construct();
diff --git a/src/common/docman/DocumentVersion.class.php
b/src/common/docman/DocumentVersion.class.php
index 82db2e4..2c77b8a 100644
--- a/src/common/docman/DocumentVersion.class.php
+++ b/src/common/docman/DocumentVersion.class.php
@@ -59,15 +59,12 @@ class DocumentVersion extends FFError {
var $Document;
/**
- * Constructor.
- *
* @param $Document
* @param bool $verid
* @param bool $arr
* @internal param \The $object Document object to
which this version is associated.
* @internal param \The $int verid.
* @internal param \The $array associative array
of data.
- * @return \DocumentVersion
*/
function __construct(&$Document, $verid = false, $arr = false) {
parent::__construct();
diff --git a/src/common/docman/DocumentVersionFactory.class.php
b/src/common/docman/DocumentVersionFactory.class.php
index e06b698..363cdc3 100644
--- a/src/common/docman/DocumentVersionFactory.class.php
+++ b/src/common/docman/DocumentVersionFactory.class.php
@@ -33,11 +33,8 @@ class DocumentVersionFactory extends FFError {
var $Document;
/**
- * Constructor.
- *
* @param $Document
* @internal param \The $object Document object to
which this version factory is associated.
- * @return \DocumentVersionFactory
*/
function __construct(&$Document) {
parent::__construct();
diff --git a/src/common/docman/Parsedata.class.php
b/src/common/docman/Parsedata.class.php
index 035d31e..eecaa0b 100644
--- a/src/common/docman/Parsedata.class.php
+++ b/src/common/docman/Parsedata.class.php
@@ -30,11 +30,6 @@ class Parsedata {
var $p_path;
- /**
- * Constructor.
- *
- * @return \Parsedata
- */
function __construct() {
$this->p_path = dirname(__FILE__).'/engine/';
$this->parsers = $this->get_parser_list($this->p_path);
diff --git a/src/common/forum/Forum.class.php b/src/common/forum/Forum.class.php
index 416bda1..bfff4ea 100644
--- a/src/common/forum/Forum.class.php
+++ b/src/common/forum/Forum.class.php
@@ -94,15 +94,12 @@ class Forum extends FFError {
var $is_news;
/**
- * Constructor.
- *
* @param $Group
* @param bool $group_forum_id
* @param bool $arr
* @internal param \The $object Group object to which this forum
is associated.
* @internal param \The $int group_forum_id.
* @internal param \The $array associative array of data.
- * @return \Forum success.
*/
function __construct(&$Group, $group_forum_id = false, $arr = false,
$is_news = false) {
parent::__construct();
diff --git a/src/common/frs/FRSFile.class.php b/src/common/frs/FRSFile.class.php
index 374e3f1..9e696c9 100644
--- a/src/common/frs/FRSFile.class.php
+++ b/src/common/frs/FRSFile.class.php
@@ -68,13 +68,10 @@ class FRSFile extends FFError {
var $FRSRelease;
/**
- * Constructor.
- *
- * @param object $FRSRelease The FRSRelease object
to which this file is associated.
- * @param int|bool $file_id The file_id.
- * @param array|bool $arr The associative array
of data.
- * @return \FRSFile
- */
+ * @param object $FRSRelease The FRSRelease object
to which this file is associated.
+ * @param int|bool $file_id The file_id.
+ * @param array|bool $arr The associative array
of data.
+ */
function __construct(&$FRSRelease, $file_id=false, $arr=false) {
parent::__construct();
if (!$FRSRelease || !is_object($FRSRelease)) {
diff --git a/src/common/frs/FRSPackage.class.php
b/src/common/frs/FRSPackage.class.php
index 4015c1a..d2cd165 100644
--- a/src/common/frs/FRSPackage.class.php
+++ b/src/common/frs/FRSPackage.class.php
@@ -108,15 +108,12 @@ class FRSPackage extends FFError {
var $Group;
/**
- * Constructor.
- *
* @param $Group
* @param bool $package_id
* @param bool $arr
* @internal param \The $object Group object to which this
FRSPackage is associated.
* @internal param \The $int package_id.
* @internal param \The $array associative array of data.
- * @return \FRSPackage
*/
function __construct(&$Group, $package_id = false, $arr = false) {
parent::__construct();
diff --git a/src/common/frs/FRSPackageFactory.class.php
b/src/common/frs/FRSPackageFactory.class.php
index 59333c4..a14f9a7 100644
--- a/src/common/frs/FRSPackageFactory.class.php
+++ b/src/common/frs/FRSPackageFactory.class.php
@@ -40,8 +40,6 @@ class FRSPackageFactory extends FFError {
var $FRSs;
/**
- * Constructor.
- *
* @param Group $Group The Group object to which these FRSs are
associated.
*/
function __construct(& $Group) {
diff --git a/src/common/frs/FRSReleaseFactory.class.php
b/src/common/frs/FRSReleaseFactory.class.php
index 7dfd361..a7b6554 100644
--- a/src/common/frs/FRSReleaseFactory.class.php
+++ b/src/common/frs/FRSReleaseFactory.class.php
@@ -49,8 +49,6 @@ class FRSReleaseFactory extends FFError {
var $FRSNRs;
/**
- * Constructor.
- *
* @param Group $Group The Group object to which these FRSRs
are associated.
*/
function __construct(& $Group) {
diff --git a/src/common/include/Codendi_HTMLPurifier.class.php
b/src/common/include/Codendi_HTMLPurifier.class.php
index cbb7152..45e2b97 100644
--- a/src/common/include/Codendi_HTMLPurifier.class.php
+++ b/src/common/include/Codendi_HTMLPurifier.class.php
@@ -51,9 +51,6 @@ class Codendi_HTMLPurifier {
*/
private static $Codendi_HTMLPurifier_instance;
- /**
- * Constructor
- */
private function __construct() {
}
diff --git a/src/common/include/DatabaseInstaller.class.php
b/src/common/include/DatabaseInstaller.class.php
index b83fed2..78e0a19 100644
--- a/src/common/include/DatabaseInstaller.class.php
+++ b/src/common/include/DatabaseInstaller.class.php
@@ -23,8 +23,6 @@
class DatabaseInstaller extends FFError {
/**
- * __construct - DatabaseInstaller constructor
- *
* @param string $name If set, name of plugin.
* @param string $path If set, path of upgrade scripts.
*/
diff --git a/src/common/include/FFError.class.php
b/src/common/include/FFError.class.php
index 5d79351..d4b2188 100644
--- a/src/common/include/FFError.class.php
+++ b/src/common/include/FFError.class.php
@@ -56,7 +56,6 @@ class FFError {
var $error_code;
/**
- * Constructor for the Error class.
* Sets the error state to false.
*/
function __construct() {
diff --git a/src/common/include/FusionForge.class.php
b/src/common/include/FusionForge.class.php
index a699fb6..28348a6 100644
--- a/src/common/include/FusionForge.class.php
+++ b/src/common/include/FusionForge.class.php
@@ -31,9 +31,6 @@ class FusionForge extends FFError {
public static $instance;
- /**
- * FusionForge - FusionForge object constructor
- */
function __construct() {
parent::__construct();
diff --git a/src/common/include/GroupJoinRequest.class.php
b/src/common/include/GroupJoinRequest.class.php
index 51b2392..8ca473d 100644
--- a/src/common/include/GroupJoinRequest.class.php
+++ b/src/common/include/GroupJoinRequest.class.php
@@ -51,12 +51,9 @@ class GroupJoinRequest extends FFError {
var $Group;
/**
- * Constructor.
- *
* @param bool|Group $Group The Group object.
* @param bool|int $user_id The user_id.
* @param array|bool $arr The associative array
of data.
- * @return \GroupJoinRequest
*/
function __construct($Group = false, $user_id = false, $arr = false) {
parent::__construct();
diff --git a/src/common/include/Permission.class.php
b/src/common/include/Permission.class.php
index afd0146..0df449d 100644
--- a/src/common/include/Permission.class.php
+++ b/src/common/include/Permission.class.php
@@ -93,10 +93,7 @@ class Permission extends FFError {
var $is_site_admin;
/**
- * Constructor for this object.
- *
* @param object Group Object required.
- *
*/
function __construct (&$_Group) {
if (!$_Group || !is_object($_Group)) {
diff --git a/src/common/include/PluginPersistence.class.php
b/src/common/include/PluginPersistence.class.php
index a82bbaf..c7a3b5f 100644
--- a/src/common/include/PluginPersistence.class.php
+++ b/src/common/include/PluginPersistence.class.php
@@ -33,8 +33,6 @@ class PluginPersistentStore extends FFError {
const persistence_table = 'plugins_persistence';
/**
- * Constructor
- *
* @param integer $plugin_id
*/
public function __construct($plugin_id) {
diff --git a/src/common/mail/MailingList.class.php
b/src/common/mail/MailingList.class.php
index a88e7a0..8b5fb96 100644
--- a/src/common/mail/MailingList.class.php
+++ b/src/common/mail/MailingList.class.php
@@ -50,15 +50,12 @@ class MailingList extends FFError {
var $groupMailingListId;
/**
- * Constructor.
- *
* @param $Group
* @param bool $groupListId
* @param bool $dataArray
* @internal param \The $object Group object to which this mailing
list is associated.
* @internal param \The $int group_list_id.
* @internal param \The $array associative array of data.
- * @return \MailingList
*/
function __construct(&$Group, $groupListId = false, $dataArray = false)
{
parent::__construct();
diff --git a/src/common/mail/MailingListFactory.class.php
b/src/common/mail/MailingListFactory.class.php
index 49b5316..8207a60 100644
--- a/src/common/mail/MailingListFactory.class.php
+++ b/src/common/mail/MailingListFactory.class.php
@@ -43,8 +43,6 @@ class MailingListFactory extends FFError {
var $mailingLists;
/**
- * Constructor.
- *
* @param Group $Group The Group object to which these mailing
lists are associated.
*/
function __construct(&$Group, $skip_check=false) {
diff --git a/src/common/pm/ProjectGroupFactory.class.php
b/src/common/pm/ProjectGroupFactory.class.php
index 7b026b9..743ffc2 100644
--- a/src/common/pm/ProjectGroupFactory.class.php
+++ b/src/common/pm/ProjectGroupFactory.class.php
@@ -43,10 +43,7 @@ class ProjectGroupFactory extends FFError {
var $projectGroups;
/**
- * Constructor.
- *
* @param Group $Group The Group object to which this
ProjectGroupFactory is associated.
- * @return \ProjectGroupFactory
*/
function __construct(&$Group, $skip_check=false) {
parent::__construct();
diff --git a/src/common/search/ArtifactSearchQuery.class.php
b/src/common/search/ArtifactSearchQuery.class.php
index 74b7183..8269977 100644
--- a/src/common/search/ArtifactSearchQuery.class.php
+++ b/src/common/search/ArtifactSearchQuery.class.php
@@ -41,8 +41,6 @@ class ArtifactSearchQuery extends SearchQuery {
var $artifactId;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param boolean $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/search/DocsSearchQuery.class.php
b/src/common/search/DocsSearchQuery.class.php
index ffc1dab..0b7690b 100644
--- a/src/common/search/DocsSearchQuery.class.php
+++ b/src/common/search/DocsSearchQuery.class.php
@@ -44,8 +44,6 @@ class DocsSearchQuery extends SearchQuery {
var $showNonPublic;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param bool $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/search/ExportProjectSearchQuery.class.php
b/src/common/search/ExportProjectSearchQuery.class.php
index 092bc5f..95d30b4 100644
--- a/src/common/search/ExportProjectSearchQuery.class.php
+++ b/src/common/search/ExportProjectSearchQuery.class.php
@@ -27,8 +27,6 @@ require_once $gfcommon.'search/SearchQuery.class.php';
class ExportProjectSearchQuery extends SearchQuery {
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param boolean $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/search/ForumSearchQuery.class.php
b/src/common/search/ForumSearchQuery.class.php
index 9043d9b..311dcad 100644
--- a/src/common/search/ForumSearchQuery.class.php
+++ b/src/common/search/ForumSearchQuery.class.php
@@ -41,8 +41,6 @@ class ForumSearchQuery extends SearchQuery {
var $forumId;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param boolean $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/search/ForumsSearchQuery.class.php
b/src/common/search/ForumsSearchQuery.class.php
index d732ebd..2599bd7 100644
--- a/src/common/search/ForumsSearchQuery.class.php
+++ b/src/common/search/ForumsSearchQuery.class.php
@@ -43,8 +43,6 @@ class ForumsSearchQuery extends SearchQuery {
var $showNonPublic;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param bool $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/search/FrsSearchQuery.class.php
b/src/common/search/FrsSearchQuery.class.php
index 359f4d3..9d2eeba 100644
--- a/src/common/search/FrsSearchQuery.class.php
+++ b/src/common/search/FrsSearchQuery.class.php
@@ -42,8 +42,6 @@ class FrsSearchQuery extends SearchQuery {
var $showNonPublic;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param bool $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/search/NewsSearchQuery.class.php
b/src/common/search/NewsSearchQuery.class.php
index c20689b..98c8c3a 100644
--- a/src/common/search/NewsSearchQuery.class.php
+++ b/src/common/search/NewsSearchQuery.class.php
@@ -35,8 +35,6 @@ class NewsSearchQuery extends SearchQuery {
var $groupId;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param boolean $isExact if we want to search for all
the words or if only one matching the query is sufficient
@@ -44,7 +42,6 @@ class NewsSearchQuery extends SearchQuery {
*/
function __construct($words, $offset, $isExact, $groupId) {
$this->groupId = $groupId;
-
parent::__construct($words, $offset, $isExact);
}
diff --git a/src/common/search/SearchQuery.class.php
b/src/common/search/SearchQuery.class.php
index cdfe707..e1db2a7 100644
--- a/src/common/search/SearchQuery.class.php
+++ b/src/common/search/SearchQuery.class.php
@@ -95,8 +95,6 @@ class SearchQuery extends FFError {
*/
var $cached_results;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param boolean $isExact if we want to search for all the words
or if only one is sufficient
diff --git a/src/common/search/TasksSearchQuery.class.php
b/src/common/search/TasksSearchQuery.class.php
index 8530b81..99a9d89 100644
--- a/src/common/search/TasksSearchQuery.class.php
+++ b/src/common/search/TasksSearchQuery.class.php
@@ -42,8 +42,6 @@ class TasksSearchQuery extends SearchQuery {
var $showNonPublic;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param bool $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/search/TrackersSearchQuery.class.php
b/src/common/search/TrackersSearchQuery.class.php
index 6ad54e8..84bf1e3 100644
--- a/src/common/search/TrackersSearchQuery.class.php
+++ b/src/common/search/TrackersSearchQuery.class.php
@@ -42,8 +42,6 @@ class TrackersSearchQuery extends SearchQuery {
var $showNonPublic;
/**
- * Constructor
- *
* @param string $words words we are searching for
* @param int $offset offset
* @param bool $isExact if we want to search for all
the words or if only one matching the query is sufficient
diff --git a/src/common/survey/Survey.class.php
b/src/common/survey/Survey.class.php
index d0e0ac0..52576f4 100644
--- a/src/common/survey/Survey.class.php
+++ b/src/common/survey/Survey.class.php
@@ -50,15 +50,12 @@ class Survey extends FFError {
var $Group;
/**
- * Constructor.
- *
* @param $Group
* @param bool $survey_id
* @param bool $arr
* @internal param \The $object Group object to which this survey
is associated.
* @internal param \The $int survey_id.
* @internal param \The $array associative array of data.
- * @return \Survey
*/
function __construct(&$Group, $survey_id = false, $arr = false) {
parent::__construct();
diff --git a/src/common/survey/SurveyFactory.class.php
b/src/common/survey/SurveyFactory.class.php
index b886404..2361f66 100644
--- a/src/common/survey/SurveyFactory.class.php
+++ b/src/common/survey/SurveyFactory.class.php
@@ -44,8 +44,6 @@ class SurveyFactory extends FFError {
var $surveys;
/**
- * Constructor.
- *
* @param object $Group The Group object to which this survey
is associated.
*/
function __construct(&$Group, $skip_check=false) {
diff --git a/src/common/survey/SurveyQuestion.class.php
b/src/common/survey/SurveyQuestion.class.php
index 05bb3c6..be71294 100644
--- a/src/common/survey/SurveyQuestion.class.php
+++ b/src/common/survey/SurveyQuestion.class.php
@@ -41,16 +41,13 @@ class SurveyQuestion extends FFError {
var $Group;
/**
- * Constructor.
- *
- * @param $Group
- * @param bool $question_id
- * @param bool $arr
- * @internal param \The $object Group object to which this Survey
Question is associated.
- * @internal param \The $int question_id.
- * @internal param \The $array associative array of data.
- * @return \SurveyQuestion
- */
+ * @param $Group
+ * @param bool $question_id
+ * @param bool $arr
+ * @internal param \The $object Group object to which this Survey
Question is associated.
+ * @internal param \The $int question_id.
+ * @internal param \The $array associative array of data.
+ */
function __construct(&$Group, $question_id = false, $arr = false) {
parent::__construct();
if (!$Group || !is_object($Group)) {
diff --git a/src/common/survey/SurveyQuestionFactory.class.php
b/src/common/survey/SurveyQuestionFactory.class.php
index 2140714..4ab51a6 100644
--- a/src/common/survey/SurveyQuestionFactory.class.php
+++ b/src/common/survey/SurveyQuestionFactory.class.php
@@ -43,8 +43,6 @@ class SurveyQuestionFactory extends FFError {
var $questions;
/**
- * Constructor.
- *
* @param object $Group The Group object to which this survey
question is associated.
*/
function __construct(&$Group) {
diff --git a/src/common/survey/SurveyResponse.class.php
b/src/common/survey/SurveyResponse.class.php
index 36b19e0..17a5288 100644
--- a/src/common/survey/SurveyResponse.class.php
+++ b/src/common/survey/SurveyResponse.class.php
@@ -40,14 +40,11 @@ class SurveyResponse extends FFError {
var $Group;
/**
- * Constructor.
- *
* @param $Group
* @param bool $arr
* @internal param \The $object Group object to which this Survey
Response is associated.
* @internal param \The $int question_id.
* @internal param \The $array associative array of data.
- * @return \SurveyResponse
*/
function __construct(&$Group, $arr=false) {
parent::__construct();
diff --git a/src/common/survey/SurveyResponseFactory.class.php
b/src/common/survey/SurveyResponseFactory.class.php
index acfce5f..21bc8c6 100644
--- a/src/common/survey/SurveyResponseFactory.class.php
+++ b/src/common/survey/SurveyResponseFactory.class.php
@@ -64,8 +64,6 @@ class SurveyResponseFactory extends FFError {
var $Results;
/**
- * Constructor.
- *
* @param object $survey The Survey object
* @param object $question The Question object to which
this survey Response is associated.
*/
diff --git a/src/common/tracker/Artifact.class.php
b/src/common/tracker/Artifact.class.php
index c8e13c4..a56815d 100644
--- a/src/common/tracker/Artifact.class.php
+++ b/src/common/tracker/Artifact.class.php
@@ -135,8 +135,6 @@ class Artifact extends FFError {
var $votes = false;
/**
- * Artifact - constructor.
- *
* @param ArtifactType $ArtifactType The ArtifactType object.
* @param int|bool $data (primary key from
database OR complete assoc array)
* ONLY OPTIONAL WHEN YOU
PLAN TO IMMEDIATELY CALL ->create()
diff --git a/src/common/tracker/ArtifactCanned.class.php
b/src/common/tracker/ArtifactCanned.class.php
index 66032d7..2c85bb3 100644
--- a/src/common/tracker/ArtifactCanned.class.php
+++ b/src/common/tracker/ArtifactCanned.class.php
@@ -41,11 +41,8 @@ class ArtifactCanned extends FFError {
var $data_array;
/**
- * __construct - constructor.
- *
* @param ArtifactType $ArtifactType The Artifact Type
object.
* @param array|bool $data (all fields from
artifact_file_user_vw) OR id from database.
- * @return ArtifactCanned success.
*/
function __construct(&$ArtifactType, $data=false) {
parent::__construct();
diff --git a/src/common/tracker/ArtifactExtraField.class.php
b/src/common/tracker/ArtifactExtraField.class.php
index 4ed7ae4..4b27804 100644
--- a/src/common/tracker/ArtifactExtraField.class.php
+++ b/src/common/tracker/ArtifactExtraField.class.php
@@ -61,7 +61,6 @@ class ArtifactExtraField extends FFError {
var $data_array;
/**
- * __construct - Constructor
* @param $ArtifactType
* @param bool $data
*/
diff --git a/src/common/tracker/ArtifactExtraFieldElement.class.php
b/src/common/tracker/ArtifactExtraFieldElement.class.php
index 4e09747..ac5202a 100644
--- a/src/common/tracker/ArtifactExtraFieldElement.class.php
+++ b/src/common/tracker/ArtifactExtraFieldElement.class.php
@@ -64,8 +64,6 @@ class ArtifactExtraFieldElement extends FFError {
var $data_array;
/**
- * __construct - Constructor
- *
* @param object $ArtifactExtraField
ArtifactExtraField object.
* @param array|bool $data (all fields
from artifact_file_user_vw) OR id from database.
*/
diff --git a/src/common/tracker/ArtifactFactory.class.php
b/src/common/tracker/ArtifactFactory.class.php
index 9f085e6..1f3c2e3 100644
--- a/src/common/tracker/ArtifactFactory.class.php
+++ b/src/common/tracker/ArtifactFactory.class.php
@@ -65,8 +65,6 @@ class ArtifactFactory extends FFError {
var $query_id; // id of the query (when
query_type=query)
/**
- * __construct - Constructor.
- *
* @param object $ArtifactType The ArtifactType object to
which this ArtifactFactory is associated.
*/
function __construct(&$ArtifactType) {
diff --git a/src/common/tracker/ArtifactFile.class.php
b/src/common/tracker/ArtifactFile.class.php
index 63942ed..fd0540b 100644
--- a/src/common/tracker/ArtifactFile.class.php
+++ b/src/common/tracker/ArtifactFile.class.php
@@ -69,8 +69,6 @@ class ArtifactFile extends FFError {
var $data_array;
/**
- * __construct - ArtifactFile constructor.
- *
* @param Artifact $Artifact The Artifact object.
* @param array|bool $data (all fields from
artifact_file_user_vw) OR id from database.
*/
diff --git a/src/common/tracker/ArtifactHistory.class.php
b/src/common/tracker/ArtifactHistory.class.php
index ac533c6..41e25bf 100644
--- a/src/common/tracker/ArtifactHistory.class.php
+++ b/src/common/tracker/ArtifactHistory.class.php
@@ -40,8 +40,6 @@ class ArtifactHistory extends FFError {
var $data_array;
/**
- * ArtifactHistory - constructor.
- *
* @param Artifact $Artifact Artifact object.
* @param array|bool $data (all fields from
artifact_history_user_vw) OR id from database.
*/
diff --git a/src/common/tracker/ArtifactMessage.class.php
b/src/common/tracker/ArtifactMessage.class.php
index 6bbde60..e3eac1b 100644
--- a/src/common/tracker/ArtifactMessage.class.php
+++ b/src/common/tracker/ArtifactMessage.class.php
@@ -40,8 +40,6 @@ class ArtifactMessage extends FFError {
var $data_array;
/**
- * __construct - ArtifactMessage constructor.
- *
* @param object $Artifact Artifact object.
* @param array|bool $data (all fields from
artifact_history_user_vw) OR id from database.
*/
diff --git a/src/common/tracker/ArtifactQuery.class.php
b/src/common/tracker/ArtifactQuery.class.php
index bca5cac..04ddf8f 100644
--- a/src/common/tracker/ArtifactQuery.class.php
+++ b/src/common/tracker/ArtifactQuery.class.php
@@ -85,8 +85,6 @@ class ArtifactQuery extends FFError {
var $element_array;
/**
- * __construct - Constructor
- *
* @param $ArtifactType $ArtifactType c object.
* @param array|bool $data
*/
diff --git a/src/common/tracker/ArtifactQueryFactory.class.php
b/src/common/tracker/ArtifactQueryFactory.class.php
index d7a429e..6d7bba1 100644
--- a/src/common/tracker/ArtifactQueryFactory.class.php
+++ b/src/common/tracker/ArtifactQueryFactory.class.php
@@ -40,8 +40,6 @@ class ArtifactQueryFactory extends FFError {
var $ArtifactQueries = null;
/**
- * Constructor.
- *
* @param object $ArtifactType The Group object to which this
ArtifactQueryFactory is associated
*/
function __construct(&$ArtifactType) {
diff --git a/src/common/tracker/ArtifactType.class.php
b/src/common/tracker/ArtifactType.class.php
index 517ad60..dd451b9 100644
--- a/src/common/tracker/ArtifactType.class.php
+++ b/src/common/tracker/ArtifactType.class.php
@@ -151,8 +151,6 @@ class ArtifactType extends FFError {
var $voters = false;
/**
- * ArtifactType - constructor.
- *
* @param Group $Group The Group
object.
* @param int|bool $artifact_type_id The id #
assigned to this artifact type in the db.
* @param array|bool $arr The associative
array of data.
diff --git a/src/common/tracker/ArtifactTypeFactory.class.php
b/src/common/tracker/ArtifactTypeFactory.class.php
index 167c2a1..b5e247c 100644
--- a/src/common/tracker/ArtifactTypeFactory.class.php
+++ b/src/common/tracker/ArtifactTypeFactory.class.php
@@ -49,8 +49,6 @@ class ArtifactTypeFactory extends FFError {
var $dataType;
/**
- * __construct - ArtifactTypeFactory constructor.
- *
* @param Group $Group The Group object to which this
ArtifactTypeFactory is associated
*/
function __construct(&$Group, $skip_check=false) {
diff --git a/src/common/tracker/ArtifactTypes.class.php
b/src/common/tracker/ArtifactTypes.class.php
index 432f1fd..0378ae1 100644
--- a/src/common/tracker/ArtifactTypes.class.php
+++ b/src/common/tracker/ArtifactTypes.class.php
@@ -43,8 +43,6 @@ class ArtifactTypes extends FFError {
var $data_array;
/**
- * ArtifactTypes - constructor.
- *
* @param Group $Group The Group object.
* @return ArtifactTypes success.
*/
diff --git a/src/common/tracker/Artifacts.class.php
b/src/common/tracker/Artifacts.class.php
index 3bc9fbe..a236295 100644
--- a/src/common/tracker/Artifacts.class.php
+++ b/src/common/tracker/Artifacts.class.php
@@ -49,8 +49,6 @@ class Artifacts extends FFError {
var $artifacts_array;
/**
- * __construct - Artifacts constructor.
- *
* Use this constructor if you are modifying an existing artifact.
*
* @param ArtifactType $ArtifactType Artifact Type object.
diff --git a/src/common/tracker/ArtifactsForUser.class.php
b/src/common/tracker/ArtifactsForUser.class.php
index f6ddb30..c8c342f 100644
--- a/src/common/tracker/ArtifactsForUser.class.php
+++ b/src/common/tracker/ArtifactsForUser.class.php
@@ -35,8 +35,6 @@ class ArtifactsForUser extends FFError {
var $Artifact;
/**
- * __construct - Creates a new ArtifactsForUser object
- *
* @param object $user the User object for which to collect
artifacts
*/
function __construct(&$user) {
diff --git a/src/common/widget/Widget_ProjectLatestCommits.class.php
b/src/common/widget/Widget_ProjectLatestCommits.class.php
index 7a0d681..31991c1 100644
--- a/src/common/widget/Widget_ProjectLatestCommits.class.php
+++ b/src/common/widget/Widget_ProjectLatestCommits.class.php
@@ -23,11 +23,10 @@
class Widget_ProjectLatestCommits extends Widget {
/**
- * Default number of commits to display
- */
+ * Default number of commits to display
+ */
const NB_COMMITS_TO_DISPLAY = 5;
-
public function __construct() {
$this->Widget('projectlatestcommits');
$request =& HTTPRequest::instance();
diff --git a/src/common/widget/Widget_ProjectLatestNews.class.php
b/src/common/widget/Widget_ProjectLatestNews.class.php
index 7f8ad9b..f027b97 100644
--- a/src/common/widget/Widget_ProjectLatestNews.class.php
+++ b/src/common/widget/Widget_ProjectLatestNews.class.php
@@ -21,8 +21,8 @@
require_once 'Widget.class.php';
/**
-* Widget_ProjectLatestNews
-*/
+ * Widget_ProjectLatestNews
+ */
class Widget_ProjectLatestNews extends Widget {
var $content;
diff --git a/src/plugins/forumml/include/ForumMLInsert.class.php
b/src/plugins/forumml/include/ForumMLInsert.class.php
index 0a18be2..8140ec6 100644
--- a/src/plugins/forumml/include/ForumMLInsert.class.php
+++ b/src/plugins/forumml/include/ForumMLInsert.class.php
@@ -31,7 +31,6 @@ class ForumMLInsert {
var $id_list;
var $dao;
- // Class Constructor
function __construct($list_id) {
// set id_list
$this->id_list = $list_id;
diff --git a/src/plugins/forumml/include/ForumML_FileStorage.class.php
b/src/plugins/forumml/include/ForumML_FileStorage.class.php
index 325c7a8..a0b0b77 100644
--- a/src/plugins/forumml/include/ForumML_FileStorage.class.php
+++ b/src/plugins/forumml/include/ForumML_FileStorage.class.php
@@ -33,8 +33,6 @@ class ForumML_FileStorage {
var $root;
/**
- * ForumML_FileStorage Constructor
- *
* @param root: The ForumML attachments directory
*/
function __construct($root) {
diff --git a/src/plugins/forumml/include/ForumML_HTMLPurifier.class.php
b/src/plugins/forumml/include/ForumML_HTMLPurifier.class.php
index 0b11915..130328b 100644
--- a/src/plugins/forumml/include/ForumML_HTMLPurifier.class.php
+++ b/src/plugins/forumml/include/ForumML_HTMLPurifier.class.php
@@ -30,9 +30,6 @@ class ForumML_HTMLPurifier extends Codendi_HTMLPurifier {
*/
private static $ForumML_HTMLPurifier_instance;
- /**
- * Constructor
- */
protected function __construct() {
}
diff --git a/src/plugins/forumml/tests/ForumML_FileStorageTest.php
b/src/plugins/forumml/tests/ForumML_FileStorageTest.php
index a1c5214..8750f3d 100644
--- a/src/plugins/forumml/tests/ForumML_FileStorageTest.php
+++ b/src/plugins/forumml/tests/ForumML_FileStorageTest.php
@@ -32,7 +32,6 @@ class ForumML_FileStorageTest extends UnitTestCase {
private $_fixture;
private $_namePattern;
- // Class constructor
function __construct($name="ForumML Mail Attachments Storage Test") {
parent::__construct($name);
$this->_fixture = dirname(__FILE__).'/_fixtures';
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 37da0b0..34cf125 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -113,11 +113,7 @@ class Layout extends FFError {
var $css_min = array();
var $stylesheets = array();
- /**
- * Layout() - Constructor
- */
function __construct() {
- // parent constructor
parent::__construct();
$this->navigation = new Navigation();
-----------------------------------------------------------------------
Summary of changes:
src/common/docman/Document.class.php | 3 ---
src/common/docman/DocumentFactory.class.php | 4 ----
src/common/docman/DocumentGroup.class.php | 4 ----
src/common/docman/DocumentGroupFactory.class.php | 3 ---
src/common/docman/DocumentManager.class.php | 3 ---
src/common/docman/DocumentVersion.class.php | 3 ---
src/common/docman/DocumentVersionFactory.class.php | 3 ---
src/common/docman/Parsedata.class.php | 5 -----
src/common/forum/Forum.class.php | 3 ---
src/common/frs/FRSFile.class.php | 11 ++++-------
src/common/frs/FRSPackage.class.php | 3 ---
src/common/frs/FRSPackageFactory.class.php | 2 --
src/common/frs/FRSReleaseFactory.class.php | 2 --
src/common/include/Codendi_HTMLPurifier.class.php | 3 ---
src/common/include/DatabaseInstaller.class.php | 2 --
src/common/include/FFError.class.php | 1 -
src/common/include/FusionForge.class.php | 3 ---
src/common/include/GroupJoinRequest.class.php | 3 ---
src/common/include/Permission.class.php | 3 ---
src/common/include/PluginPersistence.class.php | 2 --
src/common/mail/MailingList.class.php | 3 ---
src/common/mail/MailingListFactory.class.php | 2 --
src/common/pm/ProjectGroupFactory.class.php | 3 ---
src/common/search/ArtifactSearchQuery.class.php | 2 --
src/common/search/DocsSearchQuery.class.php | 2 --
src/common/search/ExportProjectSearchQuery.class.php | 2 --
src/common/search/ForumSearchQuery.class.php | 2 --
src/common/search/ForumsSearchQuery.class.php | 2 --
src/common/search/FrsSearchQuery.class.php | 2 --
src/common/search/NewsSearchQuery.class.php | 3 ---
src/common/search/SearchQuery.class.php | 2 --
src/common/search/TasksSearchQuery.class.php | 2 --
src/common/search/TrackersSearchQuery.class.php | 2 --
src/common/survey/Survey.class.php | 3 ---
src/common/survey/SurveyFactory.class.php | 2 --
src/common/survey/SurveyQuestion.class.php | 17 +++++++----------
src/common/survey/SurveyQuestionFactory.class.php | 2 --
src/common/survey/SurveyResponse.class.php | 3 ---
src/common/survey/SurveyResponseFactory.class.php | 2 --
src/common/tracker/Artifact.class.php | 2 --
src/common/tracker/ArtifactCanned.class.php | 3 ---
src/common/tracker/ArtifactExtraField.class.php | 1 -
src/common/tracker/ArtifactExtraFieldElement.class.php | 2 --
src/common/tracker/ArtifactFactory.class.php | 2 --
src/common/tracker/ArtifactFile.class.php | 2 --
src/common/tracker/ArtifactHistory.class.php | 2 --
src/common/tracker/ArtifactMessage.class.php | 2 --
src/common/tracker/ArtifactQuery.class.php | 2 --
src/common/tracker/ArtifactQueryFactory.class.php | 2 --
src/common/tracker/ArtifactType.class.php | 2 --
src/common/tracker/ArtifactTypeFactory.class.php | 2 --
src/common/tracker/ArtifactTypes.class.php | 2 --
src/common/tracker/Artifacts.class.php | 2 --
src/common/tracker/ArtifactsForUser.class.php | 2 --
src/common/widget/Widget_ProjectLatestCommits.class.php | 5 ++---
src/common/widget/Widget_ProjectLatestNews.class.php | 4 ++--
src/plugins/forumml/include/ForumMLInsert.class.php | 1 -
.../forumml/include/ForumML_FileStorage.class.php | 2 --
.../forumml/include/ForumML_HTMLPurifier.class.php | 3 ---
src/plugins/forumml/tests/ForumML_FileStorageTest.php | 1 -
src/www/include/Layout.class.php | 4 ----
61 files changed, 15 insertions(+), 159 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits