Code Duplication    Length = 10-11 lines in 2 locations

Sources/Packages.php 1 location

@@ 1016-1026 (lines=11) @@
1013
				if (file_exists($packagesdir . '/temp/' . $context['base_path'] . $action['filename']))
1014
					require($packagesdir . '/temp/' . $context['base_path'] . $action['filename']);
1015
			}
1016
			elseif ($action['type'] == 'credits')
1017
			{
1018
				// Time to build the billboard
1019
				$credits_tag = array(
1020
					'url' => $action['url'],
1021
					'license' => $action['license'],
1022
					'licenseurl' => $action['licenseurl'],
1023
					'copyright' => $action['copyright'],
1024
					'title' => $action['title'],
1025
				);
1026
			}
1027
			elseif ($action['type'] == 'hook' && isset($action['hook'], $action['function']))
1028
			{
1029
				if ($action['reverse'])

Sources/ManageSmileys.php 1 location

@@ 1573-1582 (lines=10) @@
1570
1571
			$context['actions'][] = $thisAction;
1572
		}
1573
		elseif ($action['type'] == 'credits')
1574
		{
1575
			// Time to build the billboard
1576
			$credits_tag = array(
1577
				'url' => $action['url'],
1578
				'license' => $action['license'],
1579
				'copyright' => $action['copyright'],
1580
				'title' => $action['title'],
1581
			);
1582
		}
1583
	}
1584
1585
	if ($testing)