Code Duplication    Length = 5-5 lines in 2 locations

Sources/ManageMaintenance.php 2 locations

@@ 2258-2262 (lines=5) @@
2255
	}
2256
2257
	// Hook is an instance.
2258
	if (strpos($modFunc, '#') !== false)
2259
	{
2260
		$modFunc = str_replace('#', '', $modFunc);
2261
		$hookData['object'] = true;
2262
	}
2263
2264
	// Hook is "disabled"
2265
	if (strpos($modFunc, '!') !== false)
@@ 2265-2269 (lines=5) @@
2262
	}
2263
2264
	// Hook is "disabled"
2265
	if (strpos($modFunc, '!') !== false)
2266
	{
2267
		$modFunc = str_replace('!', '', $modFunc);
2268
		$hookData['enabled'] = false;
2269
	}
2270
2271
	// Handling methods?
2272
	if (strpos($modFunc, '::') !== false)