Skip to content
Snippets Groups Projects
Commit 19fc7f7b authored by Neil Drumm's avatar Neil Drumm :wave: Committed by Neil Drumm
Browse files

Correct method chaining

parent 8eebc5f5
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment