[CS-Project-svn_notify] SF.net SVN: cs-project: [783] trunk/includes/content/settings.inc
Brought to you by:
crazedsanity
From: <cra...@us...> - 2008-02-06 02:51:03
|
Revision: 783 http://cs-project.svn.sourceforge.net/cs-project/?rev=783&view=rev Author: crazedsanity Date: 2008-02-05 18:50:55 -0800 (Tue, 05 Feb 2008) Log Message: ----------- Remove unnecessary code for old non-ajax calls. Modified Paths: -------------- trunk/includes/content/settings.inc Modified: trunk/includes/content/settings.inc =================================================================== --- trunk/includes/content/settings.inc 2008-02-06 02:49:35 UTC (rev 782) +++ trunk/includes/content/settings.inc 2008-02-06 02:50:55 UTC (rev 783) @@ -120,36 +120,9 @@ if(strlen($goHere)) { conditional_header($goHere); - exit; } exit; } -elseif(isset($_GET['action'])) { - - $adminUserClass = new adminUserClass($page->db); - - switch($_GET['action']) { - - case 'addUser': { - //add 'em! - $adminUserClass->add_user_to_group($_GET['uid'], $_GET['groupId']); - } - break; - - case 'removeUser': { - //remove 'em! - $adminUserClass->remove_user_from_group($_GET['uid'], $_GET['groupId']); - } - break; - - - default: { - //log that we didn't do anything. - } - } - conditional_header("/content/settings"); - exit; -} else { //some display settings. $x = $page->set_all_block_rows("content"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |