Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 2491-2497 (lines=7) @@
2488
	 * @param bool $reset
2489
	 * @return string
2490
	 */
2491
	public function log_file_name( $reset = false ) {
2492
		if ( empty( $this->log_file_name ) || $reset ) {
2493
			$this->log_file_name = sanitize_key( 'espresso_log_' . md5( uniqid( '', true ) ) ) . '.txt';
2494
			EE_Config::instance()->update_espresso_config( false, false );
2495
		}
2496
		return $this->log_file_name;
2497
	}
2498
2499
2500
@@ 2505-2511 (lines=7) @@
2502
	 * @param bool $reset
2503
	 * @return string
2504
	 */
2505
	public function debug_file_name( $reset = false ) {
2506
		if ( empty( $this->debug_file_name ) || $reset ) {
2507
			$this->debug_file_name = sanitize_key( 'espresso_debug_' . md5( uniqid( '', true ) ) ) . '.txt';
2508
			EE_Config::instance()->update_espresso_config( false, false );
2509
		}
2510
		return $this->debug_file_name;
2511
	}
2512
2513
2514