From: hickert Date: Wed, 5 Apr 2006 11:29:29 +0000 (+0000) Subject: fixed permission check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d0d23fccf071f37a506055f91757328633c54f3;p=gosa.git fixed permission check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2994 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ppdManager.inc b/include/class_ppdManager.inc index 5a8c5b678..c533fb800 100644 --- a/include/class_ppdManager.inc +++ b/include/class_ppdManager.inc @@ -138,8 +138,6 @@ class ppdManager print_red(sprintf(_("Specified ppd file '%s' can't be opened for reading."),$ppdFile)); }elseif(!is_writeable(preg_replace("#(^.*/).*$#","\\1",$ppdFile.".tmp"))){ print_red(sprintf(_("The required tmp file file '%s' can't be opened for writing."),$ppdFile.".tmp")); - }elseif(!is_writeable($ppdFile.".tmp")){ - print_red(sprintf(_("The required tmp file file '%s' can't be opened for writing."),$ppdFile.".tmp")); }else{ foreach ($properties as $name => $section){ foreach ($section as $attribute => $value){