Project

General

Profile

« Previous | Next » 

Revision 1842

Added by Dietmar almost 12 years ago

  1. fixed output activation conformation
  2. fixed deleting Users awaiting activation
    ! add YYYY-MM-DD in date_formats dropdown

View differences:

delete.php
29 29
	$database = WbDatabase::getInstance();
30 30
    $aUserID = array();
31 31
    $bRetVal = false;
32
    if(isset($aActionRequest['user_id']) && !is_array($aActionRequest['user_id'])) {
33
        $aUserID[] = $aActionRequest['user_id'];
32
    if(isset($aActionRequest['activation_user_id'])) {
33
		if(!is_array($aActionRequest['activation_user_id'])) {
34
	
35
	        $aUserID[] = $aActionRequest['activation_user_id'];
36
	    } else {
37
	        $aUserID = $aActionRequest['activation_user_id'];
38
	    }
34 39
    } else {
35
        $aUserID = $aActionRequest['user_id'];
36
    }
40
	    if(isset($aActionRequest['user_id'])) {
41
			if(!is_array($aActionRequest['user_id'])) {
42
		
43
		        $aUserID[] = $aActionRequest['user_id'];
44
		    } else {
45
		        $aUserID = $aActionRequest['user_id'];
46
		    }
47
	    } 
48
    } 
37 49

  
38 50
    foreach ( $aUserID AS $key => $value)
39 51
    {

Also available in: Unified diff