Commit 19fc7f7b authored by drumm's avatar drumm Committed by Neil Drumm

Correct method chaining

parent 8eebc5f5
......@@ -163,7 +163,7 @@ class provisionService_file extends provisionService {
function chown($path, $owner, $recursive = FALSE) {
// we do not attempt to chown symlinks
if (is_link($path)) {
return TRUE;
return $this;
}
$this->_clear_state();
......@@ -200,7 +200,7 @@ class provisionService_file extends provisionService {
function chgrp($path, $gid, $recursive = FALSE) {
// we do not attempt to chown symlinks
if (is_link($path)) {
return TRUE;
return $this;
}
$this->_clear_state();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment