[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1327] re-enable group mods
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1327] re-enable group mods |
Date: |
Fri, 08 May 2009 01:47:46 +0000 |
Revision: 1327
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1327
Author: clint
Date: 2009-05-08 01:47:46 +0000 (Fri, 08 May 2009)
Log Message:
-----------
re-enable group mods
Modified Paths:
--------------
trunk/nixtape/edit_group.php
trunk/nixtape/group.php
Modified: trunk/nixtape/edit_group.php
===================================================================
--- trunk/nixtape/edit_group.php 2009-05-08 01:46:40 UTC (rev 1326)
+++ trunk/nixtape/edit_group.php 2009-05-08 01:47:46 UTC (rev 1327)
@@ -31,11 +31,6 @@
$smarty->assign('details', 'Not logged in! You shouldn\'t be here!');
$smarty->display('error.tpl');
die();
-} else {
- $smarty->assign('error', 'Error!');
- $smarty->assign('details', 'Group modifications are temporarily
disabled.');
- $smarty->display('error.tpl');
- die();
}
if ($_REQUEST['group']=='new')
Modified: trunk/nixtape/group.php
===================================================================
--- trunk/nixtape/group.php 2009-05-08 01:46:40 UTC (rev 1326)
+++ trunk/nixtape/group.php 2009-05-08 01:47:46 UTC (rev 1327)
@@ -49,11 +49,11 @@
if ($_GET['action'] && isset($this_user))
{
-// if ($_GET['action'] == 'join')
-// $group->memberJoin($this_user);
-// elseif ($_GET['action'] == 'leave')
-// $group->memberLeave($this_user);
-//
+ if ($_GET['action'] == 'join')
+ $group->memberJoin($this_user);
+ elseif ($_GET['action'] == 'leave')
+ $group->memberLeave($this_user);
+
header("Location: " . $group->getURL());
exit;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1327] re-enable group mods,
Clint Adams <=