Code Duplication    Length = 7-7 lines in 3 locations

lib/templates/pobject/dialog.svn.tree.commit.save.php 1 location

@@ 8-14 (lines=7) @@
5
		error($ARnls['ariadne:err:invalidsession']);
6
		exit;
7
	}
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre>";
10
		set_time_limit(0);
11
		$this->find($this->path, '', "system.svn.commit.php", $arCallArgs, 0, 0);
12
		echo "</pre>";
13
		$this->call("window.opener.objectadded.js");
14
	}
15
?>
16

lib/templates/pobject/dialog.svn.tree.revert.save.php 1 location

@@ 8-14 (lines=7) @@
5
		error($ARnls['ariadne:err:invalidsession']);
6
		exit;
7
	}
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre class='svnresult'>\n";
10
		set_time_limit(0);
11
		$this->find($this->path, '', "system.svn.revert.php", $arCallArgs, 0, 0);
12
		echo "</pre>\n";
13
		$this->call("window.opener.objectadded.js");
14
	}
15
?>
16

lib/templates/pobject/dialog.svn.tree.unsvn.save.php 1 location

@@ 7-13 (lines=7) @@
4
		exit;
5
	}
6
	ldDisablePostProcessing();
7
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
8
		echo "<pre class='svn_result'>";
9
		set_time_limit(0);
10
		$this->find($this->path, '', "system.svn.unsvn.php", $arCallArgs, 0, 0);
11
		echo "</pre>";
12
		$this->call("window.opener.objectadded.js");
13
	}
14
?>
15