Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 2523-2529 (lines=7) @@
2520
	 * @param bool $reset
2521
	 * @return string
2522
	 */
2523
	public function log_file_name( $reset = false ) {
2524
		if ( empty( $this->log_file_name ) || $reset ) {
2525
			$this->log_file_name = sanitize_key( 'espresso_log_' . md5( uniqid( '', true ) ) ) . '.txt';
2526
			EE_Config::instance()->update_espresso_config( false, false );
2527
		}
2528
		return $this->log_file_name;
2529
	}
2530
2531
2532
@@ 2537-2543 (lines=7) @@
2534
	 * @param bool $reset
2535
	 * @return string
2536
	 */
2537
	public function debug_file_name( $reset = false ) {
2538
		if ( empty( $this->debug_file_name ) || $reset ) {
2539
			$this->debug_file_name = sanitize_key( 'espresso_debug_' . md5( uniqid( '', true ) ) ) . '.txt';
2540
			EE_Config::instance()->update_espresso_config( false, false );
2541
		}
2542
		return $this->debug_file_name;
2543
	}
2544
2545
2546