Code Duplication    Length = 5-5 lines in 2 locations

Sources/ManageMaintenance.php 2 locations

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