Browse Source

[svn r20403] Cancel previous commit (error)

Noël Dieschburg 16 years ago
parent
commit
dca5cc8fa7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main/admin/user_list.php

+ 3 - 3
main/admin/user_list.php

@@ -1,4 +1,4 @@
-<?php // $Id: user_list.php 20402 2009-05-08 08:16:12Z ndieschburg $
+<?php // $Id: user_list.php 20403 2009-05-08 08:35:16Z ndieschburg $
 /* For licensing terms, see /dokeos_license.txt */
 /**
 ==============================================================================
@@ -259,7 +259,7 @@ function login_user($user_id) {
 function get_number_of_users()
 {
 	$user_table = Database :: get_main_table(TABLE_MAIN_USER);
-	$sql = "SELECT COUNT(DISTINCT u.user_id) AS total_number_of_items FROM $user_table u";
+	$sql = "SELECT COUNT(u.user_id) AS total_number_of_items FROM $user_table u";
 	
 	// adding the filter to see the user's only of the current access_url 
     global $_configuration;
@@ -322,7 +322,7 @@ function get_number_of_users()
 function get_user_data($from, $number_of_items, $column, $direction)
 {
 	$user_table = Database :: get_main_table(TABLE_MAIN_USER);
-	$sql = "SELECT DISTINCT
+	$sql = "SELECT
                  u.user_id				AS col0,
                  u.official_code		AS col1,
 				 u.lastname 			AS col2,