[opw-web] Disable showing subscribe messages for new mentors/projects
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [opw-web] Disable showing subscribe messages for new mentors/projects
- Date: Mon, 10 Mar 2014 16:10:57 +0000 (UTC)
commit 5e96954ff491c8d7a7a1a893b7e9f7fb17e97c11
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Mon Mar 10 11:40:20 2014 -0400
Disable showing subscribe messages for new mentors/projects
modules/mod_view_projects.php | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/modules/mod_view_projects.php b/modules/mod_view_projects.php
index b505276..2f900fe 100644
--- a/modules/mod_view_projects.php
+++ b/modules/mod_view_projects.php
@@ -330,7 +330,9 @@ if ($action == 'editor')
$title = '';
$description = '';
$organization_id = 0;
- $show_subscribe = true;
+ // Message to subscribe to a mailing list - should be a config variable
+ // note confusing use of isset() below - = false won't work
+ // $show_subscribe = true;
}
// Purge the project cache
@@ -516,7 +518,9 @@ else if ($action == 'view')
$success_message = $lang->get('mentor_submitted');
$can_mentor = false;
- $show_subscribe = true;
+ // Message to subscribe to a mailing list - should be a config variable
+ // note confusing use of isset() below - = false won't work
+ //$show_subscribe = true;
$mentor = $user->username;
$is_owner = $project_data['is_accepted'] == 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]