Project

General

Profile

« Previous | Next » 

Revision 1322

Added by Dietmar over 14 years ago

Ticket #984 Removing outdated comment-block in class.login.php
Ticket #983 Sorting order of modules and templates inside groups.php

View differences:

class.login.php
187 187
				// Set a session var so apps can tell user is using default time format
188 188
				$_SESSION['USE_DEFAULT_TIME_FORMAT'] = true;
189 189
			}
190

  
190 191
			// Get group information
191
//			$query = "SELECT * FROM ".$this->GROUPS_TABLE." WHERE group_id = '".$this->get_session('GROUP_ID')."'";
192
//			$results = $database->query($query);
193
//			$results_array = $results->fetchRow();
194
//			$_SESSION['GROUP_NAME'] = $results_array['name'];
195
//			// Set system permissions
196
//			if($results_array['system_permissions'] != '') {
197
//				$_SESSION['SYSTEM_PERMISSIONS'] = explode(',', $results_array['system_permissions']);
198
//			} else {
199
//				$_SESSION['SYSTEM_PERMISSIONS'] = array();
200
//			}
201
//			// Set module permissions
202
//			if($results_array['module_permissions'] != '') {
203
//				$_SESSION['MODULE_PERMISSIONS'] = explode(',', $results_array['module_permissions']);
204
//			} else {
205
//				$_SESSION['MODULE_PERMISSIONS'] = array();
206
//			}
207
//			// Set template permissions
208
//			if($results_array['template_permissions'] != '') {
209
//				$_SESSION['TEMPLATE_PERMISSIONS'] = explode(',', $results_array['template_permissions']);
210
//			} else {
211
//				$_SESSION['TEMPLATE_PERMISSIONS'] = array();
212
//			}
213

  
214 192
			$_SESSION['SYSTEM_PERMISSIONS'] = array();
215 193
			$_SESSION['MODULE_PERMISSIONS'] = array();
216 194
			$_SESSION['TEMPLATE_PERMISSIONS'] = array();

Also available in: Unified diff