Code Duplication    Length = 4-4 lines in 2 locations

api/src/Acl.php 2 locations

@@ 253-256 (lines=4) @@
250
		}
251
		if (!$appname) $appname = $GLOBALS['egw_info']['flags']['currentapp'];
252
253
		if (!count($this->data) && $GLOBALS['egw_info']['server']['acl_default'] != 'deny')
254
		{
255
			return True;
256
		}
257
		$rights = 0;
258
		foreach($this->data as $value)
259
		{
@@ 302-305 (lines=4) @@
299
	{
300
		if (!$appname) $appname = $GLOBALS['egw_info']['flags']['currentapp'];
301
302
		if (!count($this->data) && $GLOBALS['egw_info']['server']['acl_default'] != 'deny')
303
		{
304
			return True;
305
		}
306
		$rights = 0;
307
308
		foreach($this->data as $value)