Projekt

Allgemein

Profil

GX-Bug #55274 » DeleteGuestAccountsFix.patch

Till Tepelmann, 21.02.2018 11:55

Unterschiede anzeigen:

src/system/classes/accounts/LogoffContentControl.inc.php (revision )
126 126
	{
127 127
		$deletedCustomerId = false;
128 128
		
129
		if(DELETE_GUEST_ACCOUNT === 'true')
129
		if(DELETE_GUEST_ACCOUNT === 'true' || APPLICATION_RUN_MODE == 'backend')
130 130
		{
131 131
			$c_customerId = (int)$p_customerId;
132 132
			
......
160 160
	{
161 161
		$deletedCustomersArray = array();
162 162
		
163
		if(DELETE_GUEST_ACCOUNT == 'true')
163
		if(DELETE_GUEST_ACCOUNT == 'true' || APPLICATION_RUN_MODE == 'backend')
164 164
		{
165 165
			$query = "SELECT 
166 166
							c.customers_id,
    (1-1/1)