Two occurrences forgotten

feature.content-md5
Thomas Keller 2011-06-06 23:01:25 +02:00
parent 638b28399e
commit aa043f14ac
1 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ class IDF_Plugin_SyncMonotone
if (substr($content, -3) != '.in') { if (substr($content, -3) != '.in') {
if (!@symlink($confdir.$content, $filepath)) { if (!@symlink($confdir.$content, $filepath)) {
IDF_Scm_Exception(sprintf( $this->_diagnoseProblem(sprintf(
__('Could not create symlink for configuration file "%s"'), __('Could not create symlink for configuration file "%s"'),
$filepath $filepath
)); ));
@ -446,7 +446,7 @@ class IDF_Plugin_SyncMonotone
$serverRestartRequired = false; $serverRestartRequired = false;
if ($project->private && file_exists($projectfile) && is_link($projectfile)) { if ($project->private && file_exists($projectfile) && is_link($projectfile)) {
if (!@unlink($projectfile)) { if (!@unlink($projectfile)) {
IDF_Scm_Exception(sprintf( $this->_diagnoseProblem(sprintf(
__('Could not remove symlink "%s"'), $projectfile __('Could not remove symlink "%s"'), $projectfile
)); ));
} }