[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.15, 1.
From: |
cbayle |
Subject: |
[Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.15, 1.16 |
Date: |
Sun, 12 Dec 2004 19:30:33 -0600 |
Update of /cvsroot/gforge/gforge-plugin-scmcvs/include
In directory db.perdue.net:/tmp/cvs-serv3338/include
Modified Files:
CVSPlugin.class
Log Message:
This should work for CVS
Index: CVSPlugin.class
===================================================================
RCS file: /cvsroot/gforge/gforge-plugin-scmcvs/include/CVSPlugin.class,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CVSPlugin.class 10 Dec 2004 04:44:27 -0000 1.15
+++ CVSPlugin.class 13 Dec 2004 01:30:30 -0000 1.16
@@ -8,21 +8,21 @@
$this->name = "scmcvs";
$this->text = "CVS";
$this->hooks[] = "scm_page";
-/* $this->hooks[] = "scm_admin_update";
+ $this->hooks[] = "scm_admin_update";
$this->hooks[] = "scm_admin_page";
$this->hooks[] = "scm_stats";
-*/
+
$this->hooks[] = "scm_plugin";
-// $this->hooks[] = "group_approved";
+ $this->hooks[] = "group_approved";
$this->hooks[] = "cssstyle";
//$this->hooks[] = "groupmenu_scm";
- require_once('/etc/gforge/plugins/scmcvs/config.php') ;
-
+ require_once('/etc/gforge/plugins/scmcvs/config.php') ;
+
//$this->default_cvs_server = $default_cvs_server ;
//$this->this_server = $this_server ;
$this->enabled_by_default = $enabled_by_default ;
-
+
$this->register () ;
}
@@ -34,7 +34,7 @@
$group_id = $params['group_id'] ;
$this->display_scm_page ($group_id) ;
break ;
-/* case "scm_admin_update":
+ case "scm_admin_update":
$this->scm_admin_update ($params) ;
break ;
case "scm_admin_page":
@@ -49,7 +49,6 @@
// case "groupmenu_scm":
// $this->display_groupmenu_scm ($params) ;
// break;
-*/
case "cssstyle":
$this->cssstyle_scm ($params) ;
break;
@@ -346,7 +345,7 @@
}
}
-/*
+
function scm_admin_update ($params) {
$group =& group_get_object($params['group_id']);
if ($params['scmcvs_enable_anoncvs']) {
@@ -360,9 +359,7 @@
$group->SetUsesPserver(false);
}
//// if ($params['scmradio'] == 'scmcvs') {
-//// THIS IS NOT THE PLACE FOR THIS //////// TODO
//// $group->setPluginUse("scmcvs", 1) ;
-////
//// } else {
//// $group->setPluginUse("scmcvs", 0) ;
//// }
@@ -442,7 +439,6 @@
}
}
-*/
/**
* account_group_cvsweb_url() - Returns URL for group's CVS
interface WWW
@@ -455,7 +451,6 @@
return
'http://'.$project->getSCMBox().'/plugins/scmcvs/cvsweb.php/?cvsroot=cvsroot/'.$project->getUnixName();
}
-/*
function display_groupmenu_scm($params) {
$group_id = $params['group_id'] ;
$project =& group_get_object($group_id);
@@ -484,6 +479,7 @@
}
}
+/*
function GetDefaultServer () {
return $this->default_cvs_server ;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.15, 1.16,
cbayle <=